Add
<script src="scripts/K_CrossControl_v2.js" type="text/javascript" >
in the <head> section of your html source, and add
var crossControl=new K_CrossControl();
map.addControl(crossControl);

in the javascript initMap function to create and display the cross control.

This is the basic example displayed when you register for a Google API key, recoded to test Version 2 of the API. I made some modifications so the page would validate and make it a bit more useful.


Credits:
JShape Ways to Use Google Map API
Google Maps API
Google Maps
See my Google Map Panel page for another example using this control.

Learn about the Google Maps API. Discuss it on Google Groups Visit Fun with Google Maps for more example.

Last modified on 2008-07-15.
Valid XHTML 1.0 Strict Valid CSS! Valid XHTML 1.0 Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License .
Doug Henderson   ✉ nobody@fake.invalid
Calgary, Alberta Canada

This hCard created with the hCard creator.