geography : add a marker on the map when we add or link a place.
svn: r17485
This commit is contained in:
parent
c080645c9a
commit
9cc4a1b3d9
@ -665,6 +665,7 @@ class GeoGraphyView(osmGpsMap, NavigationView):
|
|||||||
new_place.set_longitude(str(lon))
|
new_place.set_longitude(str(lon))
|
||||||
try:
|
try:
|
||||||
EditPlace(self.dbstate, self.uistate, [], new_place)
|
EditPlace(self.dbstate, self.uistate, [], new_place)
|
||||||
|
self.add_marker(None, None, lat, lon, None, True)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -680,6 +681,7 @@ class GeoGraphyView(osmGpsMap, NavigationView):
|
|||||||
place.set_longitude(str(lon))
|
place.set_longitude(str(lon))
|
||||||
try:
|
try:
|
||||||
EditPlace(self.dbstate, self.uistate, [], place)
|
EditPlace(self.dbstate, self.uistate, [], place)
|
||||||
|
self.add_marker(None, None, lat, lon, None, True)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user