Wasn't it Marius who wrote:
>
>Mike - I dont want the marker to appear on both maps.
>
>Eg.:
>1 page and
>Map 1 - markers A, B, C
>Map 2 - marker: Z
In that case there's no problem. Create the second map in exactly the
same way as you create the first one.
var map1 = new GMap2(document.getElementById("map1"));
map1.setCenter(new GLatLng(43,-79),8);
var marker = createMarker(pointA,htmlA);
map1.addOverlay(marker);
var map2 = new GMap2(document.getElementById("map2"));
map2.setCenter(new GLatLng(27,-101),8);
var marker = createMarker(pointZ,htmlZ);
map2.addOverlay(marker);
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---