Am Fri, 24. Aug 2012 um 18:14:37 +0200 schrieb Guido Scholz:

 
> Lets have a look at the workflow to make it more clear:
> 
> 1)           2)                  3)                  4)
> Load map  -> select style[1]  -> select map tiles -> create Garmin map image
> 
> [1] hint: do _not_ keep default style


OK I have looked into the source code myself now and found the reason
for this bug.

Class CMapTDB has a membervariable "typfile" which holds the value from
the user settings and is updated correctly when the selection of the
combobox changes. The data in the file of "typfile" is also base for the
map view which is updated if selection changes.

On the other hand the "typfile" information for the selected maps are only
set in method "select()" which is called when a single map tile is
selected. This data is not updated if the typ selection changes even when
the map view is updated. So there is an important difference if a user
follows workflow

1)          2)                 3)                  4)
Load map -> select style[1] -> select map tiles -> create Garmin map image

(the right one) or 

1)          2)                  3)                 4)
Load map -> select map tiles -> select style[1] -> create Garmin map image

which is wrong here.

In the second case the selcted tiles (sub maps) do not get any information
about the current map view style so the resulting Garmin map is generated
with the typ file before the map selection started. Obviously I followed
allways (for more than a year now) version two.

Irritating for me is that workflow two shows something else in the map view
than does result for the Garmin map image.


A possible solution could be to disable the typ combobox when one or
more map tiles are selected. An other solution could be to update the
"typfile" data for every selected map tile when style selection changes.

Guido

-- 
http://www.bayernline.de/~gscholz/
http://www.lug-burghausen.org/

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to