diff --git a/mapwidgets/static/mapwidgets/js/django_mw_base.js b/mapwidgets/static/mapwidgets/js/django_mw_base.js index 4f97eb02..ca62f4a2 100644 --- a/mapwidgets/static/mapwidgets/js/django_mw_base.js +++ b/mapwidgets/static/mapwidgets/js/django_mw_base.js @@ -90,7 +90,7 @@ }, updateLocationInput: function(lat, lng, place){ - var location_input_val = "POINT (" + lng + " " + lat + ")"; + var location_input_val = "POINT (" + lat + " " + lng + ")"; this.locationInput.val(location_input_val); this.updateCoordinatesInputs(lat, lng); this.addMarkerToMap(lat, lng); diff --git a/setup.py b/setup.py index 003b889d..1f813964 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = (0, 2, 0) +VERSION = (0, 2, 1) __version__ = '.'.join(map(str, VERSION)) setup(