Page 1 of 1
Maps module
Posted: Fri Aug 10, 2007 4:00 pm
by fuquam
Here is a site that was done in CMS Made Simple and uses the Google Maps module. I can't figure out how they made their logo graphics as a clicking point for each location. Any ideas?
http://www.usbakery.com/index.php?page=locations
Re: Maps module
Posted: Fri Aug 10, 2007 6:55 pm
by Dr.CSS
Never used the map module but the code on the page for the icon is...
if(GBrowserIsCompatible()) {
var map=new GMap(document.getElementById("map"));
map.centerAndZoom(new GPoint(-122.6545864,45.525344),12);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
var point,marker,html;
var icon=new GIcon();
icon.image="images/franz_pointer.gif";
icon.iconSize=new GSize(50,30);
icon.iconAnchor=new GPoint(49,29);
icon.infoWindowAnchor=new GPoint(48,28);