http://code.google.com/apis/maps/documentation/javascript/reference.html#Map

map.setCenter(myLatLng);

Martin.


On Dec 24, 3:59 am, Mesh3L <[email protected]> wrote:
> Hello,
>
> I need help on which function to call when i want to change the center of
> the map by new LatLng.
>
> I will have a Select list, which has name of cities. onChange , It will call
> a function that has a list of the cities and its Lat and Lng. Now i want to
> call a function and pass the Latlng to it so it centers the map to the given
> Latlng.
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to