atom feed5 messages in!!!! Marker Color Change
FromSent OnAttachments
jjMay 19, 2008 8:15 pm 
Mike WilliamsMay 19, 2008 10:31 pm 
jjMay 20, 2008 9:28 am 
RosskoMay 20, 2008 4:28 pm 
jjMay 20, 2008 7:38 pm 
Subject:HELP!!!! Marker Color Change
From:jj (
Date:May 19, 2008 8:15:01 pm

I need help. I wish to change the marker color from red to blue, green etc for each school (or at least have every other school blue etc) but I do not know how . I am brand new to google maps here is the code i have so far. I would like to learn how to change the color of the marker for the next school I list. Many thanks in advance!!!!

<!DOCTYPE html "-//W3C//DTD XHTML 2.5 Strict//EN" <html xmlns=""> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/

<script src=" file=api&amp;v=2&amp;key=ABQIAAAA7XNjzg_6Exn7l8i5Up5FBhT7rU6iJHAYz6ywY1- oGDrUzrk1DhQVvI6nx0a90VYyjjPl_RIevAGzdA" type="text/javascript"></script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); var center = new GLatLng(37.4419, -122.1419); map.setCenter(center, 3);

map.addControl(new GLargeMapControl()); map.addControl(new GScaleControl()); map.addControl(new GMapTypeControl()); map.enableScrollWheelZoom(); var marker = new GMarker(new GLatLng(39.920335,-75.27342), 2) map.addOverlay(marker); html="Delaware County Community College-Campus Wide(PD)<br/>" + "Collingdale, PA "; marker.bindInfoWindowHtml(html);var marker = new GMarker(new GLatLng(42.376284,-71.122355), 2) map.addOverlay(marker); } } </script> </head> <body onload="initialize()" onunload="GUnload()"> <div id="map_canvas" style="width: 1400px; height: 700px"></div>