Is it possible to invoke part of the Google Maps API outside of it?

I tried, unsuccessfully, to do

<a href="javascript:map.setCenter(new GLatLng(33.378375, -111.972776),
16)">Move Map</a>;

in the body of my page.

Is it possible to do that, and did I just do it wrong?

I have a very wide map for a conference. The event itself and places
to eat lunch will fit on one map, and then the area for hotels and
restaurants for dinner are about one map width east. There are two
different map.setCenters, and I would like to be able to dynamically
switch between them
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to