示例#1
0
 def fill_osm_data(self):
     response = osm_geocoder(self.geoaddress())
     if response is not None:
         self.longitude = response['lon']
         self.latitude = response['lat']
示例#2
0
 def fill_osm_data(self):
     response = osm_geocoder(self.geoaddress())
     if response is not None:
         self.longitude = response['lon']
         self.latitude = response['lat']