-
Notifications
You must be signed in to change notification settings - Fork 20
Description
The issue is that whenever choosing a place on the map, the latitude and longitud will not be the ones you choosen but the ones google assign to the place (which sometimes is even incorrect). It doesn't make a big difference for cities / countries etc... but it can really piss off if you try to select a certain building upon a university campus, factory or large complex.
Proposal of solution:
1- in getLatLng()
add _latLng == null on the if
2- in initMap()
add _latLng = pos; right under var pos = e.latLng;
with this you shall be able to get the real latitude and longitude you selected from the map, but there's still the latitudeInput and longitudeInput options that take the values of the google place.
If the owner is interested I'll submit a pull request.