mirror of https://gitlab.com/bashrc2/epicyon
West is negative
parent
0baad8d094
commit
ba709c24e8
2
maps.py
2
maps.py
|
|
@ -328,7 +328,7 @@ def get_location_from_post(post_json_object: {}) -> str:
|
||||||
if isinstance(longitude, str):
|
if isinstance(longitude, str):
|
||||||
longitude = float(longitude)
|
longitude = float(longitude)
|
||||||
if is_west and longitude > 0:
|
if is_west and longitude > 0:
|
||||||
longitude = - longitude
|
longitude = -longitude
|
||||||
if property_dict['name'] == "GPSLatitude":
|
if property_dict['name'] == "GPSLatitude":
|
||||||
latitude = property_dict['value']
|
latitude = property_dict['value']
|
||||||
is_south = False
|
is_south = False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue