- Home >
- Documentation >
- Services >
- getlatlng
getlatlng
This function retrieves the google.maps.GeocoderResult from an address.
Usage
Parameters
- address {string|google.maps.GeocoderRequest}
Example
This example resolves a given address, then adds a marker onto the map.
$("#test").gmap3({
getlatlng:{
address: "Paris, France",
callback: function(results){
if ( !results ) return;
$(this).gmap3({
marker:{
latLng:results[0].geometry.location
}
});
}
}
});


