Dynamic adding and removing of texture layers
Review Request #123202 - Created April 1, 2015 and submitted
TextureLayer class was created based on parsing the .dgml content only. With this patch, MarbleMap API has been extended to allow a dynamic updates of texture layer (i.e. from the qml form-like interface, by pointing to a source directory and reading/inputting some parameters, by pointing to a geotiff and making tiles on the fly etc.). Theses custom textures are then added to static texture list and displayed.
Works well on my machine, tested by using for about 3-4 months now. Tested with 1, 2 and 3 dynamic texture layers (based on aerial photos).
addTextureLayerthis looks a bit strange, I'd rather expect another
GeoSceneTextureTile*parameter instead of a QString. Alternatively have
addTextureLayerreturn a QString as the key which should be passed to
The whole block could also be replaced by
qDeleteAll( d->m_customTextures );