6156: url and Google Map API
svn: r20633
This commit is contained in:
parent
2d042b0025
commit
3b2a0dbe48
@ -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