forked from s_ranjbar/city_retrofit
change reverse_geocoder for openmaps api call
This commit is contained in:
parent
b6bc582201
commit
5249a8fc76
|
@ -42,7 +42,6 @@ class City:
|
||||||
transformer = Transformer.from_crs(input_reference, gps)
|
transformer = Transformer.from_crs(input_reference, gps)
|
||||||
coordinates = transformer.transform(self.lower_corner[0], self.lower_corner[1])
|
coordinates = transformer.transform(self.lower_corner[0], self.lower_corner[1])
|
||||||
self._location = GeometryHelper.get_location(coordinates[0], coordinates[1])
|
self._location = GeometryHelper.get_location(coordinates[0], coordinates[1])
|
||||||
# rg.search(coordinates)
|
|
||||||
return self._location
|
return self._location
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue
Block a user