Include the google maps api in your page and handle the geocoder object
var geocoder = null;
geocoder = new GClientGeocoder();
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
alert("Lat" + point.lat() + " / Long" + point.lng())
}
);
}
}
showAddress("Avenida afonso pena, 1500, belo horizonte, minas gerais");
On Wed, Jul 28, 2010 at 5:25 PM, Luiz Fernando Frias <
[email protected]> wrote:
> I didn't understand..
> Which methods are that ?
> Where can I see them ?
>
> Thanks..
>
> 2010/7/28 Rossko <[email protected]>
>
> If you are geocoding from javascript, you should use the methods
>> provided within the API.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Maps API" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-maps-api%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-api?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.