6156: url and Google Map API

svn: r20633
This commit is contained in:
Jérôme Rapinat 2012-11-05 09:06:31 +00:00
parent 2d042b0025
commit 3b2a0dbe48

View File

@ -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