6156: url and Google Map API
svn: r20632
This commit is contained in:
parent
f63246417c
commit
bf9b4ea7a1
@ -51,7 +51,7 @@ class GoogleMapService(MapService):
|
|||||||
place = self._get_first_place()[0]
|
place = self._get_first_place()[0]
|
||||||
latitude, longitude = self._lat_lon(place)
|
latitude, longitude = self._lat_lon(place)
|
||||||
if longitude and latitude:
|
if longitude and latitude:
|
||||||
self.url = "http://maps.google.com/?sll=%s,%s&z=15" % (latitude,
|
self.url = "http://maps.google.com/maps/mm?sll=%s,%s&z=15" % (latitude,
|
||||||
longitude)
|
longitude)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user