10029: Bad color assignment in geoplaces
This commit is contained in:
parent
6b45d7cedd
commit
2c67db6a58
@ -665,18 +665,20 @@ class GeoGraphyView(OsmGps, NavigationView):
|
|||||||
lat = mark[3]
|
lat = mark[3]
|
||||||
lon = mark[4]
|
lon = mark[4]
|
||||||
icon = mark[7]
|
icon = mark[7]
|
||||||
|
colour = mark[12]
|
||||||
differtype = False
|
differtype = False
|
||||||
count = 1
|
count = 1
|
||||||
continue
|
continue
|
||||||
if last != current:
|
if last != current:
|
||||||
self.add_marker(None, None, lat, lon, icon, differtype,
|
self.add_marker(None, None, lat, lon, icon, differtype,
|
||||||
count, color=mark[12])
|
count, color=colour)
|
||||||
differtype = False
|
differtype = False
|
||||||
count = 1
|
count = 1
|
||||||
last = current
|
last = current
|
||||||
lat = mark[3]
|
lat = mark[3]
|
||||||
lon = mark[4]
|
lon = mark[4]
|
||||||
icon = mark[7]
|
icon = mark[7]
|
||||||
|
colour = mark[12]
|
||||||
else: # This marker already exists. add info.
|
else: # This marker already exists. add info.
|
||||||
count += 1
|
count += 1
|
||||||
if icon != mark[7]:
|
if icon != mark[7]:
|
||||||
|
Loading…
Reference in New Issue
Block a user