Good morning,
i am using the following code at http://www.rocksolidhq.com/cabease/test.php
and am trying to place two markers. One should be yellow and the
other blue but i am getting two of the same icon.
Can someone tell me where i am going wrong?
thanks in advance,
dean
<?php
require('/includes/GoogleMapAPI.class.php');
$map = new GoogleMapAPI('map');
// enter YOUR Google Map Key
$map->setAPIKey('ABQIAAAAtwrk0P1eQ86j-
l6PkDBsqxQujdYv3zniV_LRYHZo_zc4iYtCWBTBybr0skHbkNYFluQ5sd0eg4m-Ag');
// create some map markers
$map->addMarkerIcon('/cabease/lockerby2/images/taxiCartoon_Y.png','',
15,56,10,10);
$map->addMarkerByAddress('339 Harrison dr., sudbury,
Ontario','Lockerby','<b>Lockerby</b>');
$map->addMarkerIcon('/cabease/lockerby2/images/taxiCartoon_B.png','',
15,56,10,10);
$map->addMarkerByAddress('2132 algonquin rd., sudbury,
ontario','cambrian','<b>Cambrian</b>');
$map->setBoundsFudge(.5);
$map->setInfoWindowTrigger('mouseover');
$map->setWidth('480px');
$map->disableDirections();
$map->printHeaderJS();
$map->printMapJS();
?>
<!-- necessary for google maps polyline drawing in IE -->
<style type="text/css">
v\:* {
behavior:url(#default#VML);
}
</style>
<?php
$map->printSidebar();
$map->printMap();
$map->printOnLoad();
?>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---