]> git.street.me.uk Git - andy/viking.git/commit - src/viklayerspanel.c
When adding layers insert 'Base' layers (i.e Maps/GeoRef/DEM) below the selected...
authorRob Norris <rw_norris@hotmail.com>
Wed, 27 Feb 2013 00:00:52 +0000 (00:00 +0000)
committerRob Norris <rw_norris@hotmail.com>
Tue, 9 Apr 2013 23:20:12 +0000 (00:20 +0100)
commitc3a024291f1e9eee66b8dc343c24152359153b0e
tree9ec84f326288f118a7d3b8ee3390d42a12e84499
parent0bb36e787420ca4dbc99fdde9bdb705a8f5a5d3d
When adding layers insert 'Base' layers (i.e Maps/GeoRef/DEM) below the selected layer.

Consider a common scenario of opening a GPX or KML file so there is now a TrackWaypoint layer.

Then one adds a map layer (previously this then gets inserted above the trackwaypoint layer
and one can no longer see the tracks or waypoints) so now it gets placed below the TRW layer
and hence the GPS info is still visible.

Maintain the ordering of layers when opened from a file.

Update the help file accordingly.
help/C/viking.xml
src/acquire.c
src/datasource_osm_my_traces.c
src/file.c
src/vikaggregatelayer.c
src/vikaggregatelayer.h
src/vikgpslayer.c
src/viklayerspanel.c
src/viktreeview.c
src/viktreeview.h