Closed tmadison-gpsw closed 7 years ago
@tmadison-gpsw What is the structure of latlng parameter ? I add something like this
{ lat: 19.4326077, lng: -99.133208 }
but the server throws an invalid request error in getFromLatLng, the getFromLocation works good.
@sasuke10 today I released the version 0.2.0 and now it's possible to perform reverse geocoding.
Geocoder.getFromLatLng(19.4326077, -99.133208).then(
json => {
alert(JSON.stringify(json));
},
error => {
alert(error);
}
);