geography : icons not correctly selected due to the sort key. cleaning.
svn: r17325
This commit is contained in:
1 parent
9e4deb6254
commit
9fa8fbb8f4
2 files changed
+2
-3
No files matched your search
@@ -475,9 +475,8 @@ class GeoGraphyView(osmGpsMap, NavigationView):
|
||||
lat = mark[3]
|
||||
lon = mark[4]
|
||||
icon = mark[7]
|
||||
differtype = False
|
||||
else: # This marker already exists. add info.
|
||||
if ( mark[6] and icon != mark[7] ):
|
||||
if icon != mark[7]:
|
||||
differtype = True
|
||||
if ( lat != 0.0 and lon != 0.0 ):
|
||||
self.add_marker(None, None, lat, lon, icon, differtype)
|
||||
|
||||
Reference in new issue
Block a user