I see you problem. When you create your markers, you need to pass it a GMarkers option variable. The markersOption variable will hold all of the icon settings that you have. Heres an example of what I'm talking about from a map i did:
function setMarkers(map,locations) { for(var i = 0; i < locations.length; i++) { var beach = locations[i]; var icons = new GIcon(G_DEFAULT_ICON); icons.image = "/" + beach[4]; icons.shadow = ""; var GMarkerOptions = { icon: icons, title: beach[0]}; var myLatLng = new GLatLng(beach[1], beach[2]); var markersArray = new Array(); markersArray[i] = new GMarker(myLatLng, GMarkerOptions); map.addOverlay(markersArray[i]); } } In your code you pass the marker like 4 variables I think, you should only be sending it two things, the lat/lng point and the GMarkerOptions. On May 10, 11:17 am, adembe <ade...@gmail.com> wrote: > Hello Everyone, > > http://www.adgeomatics.com/New10displays commercial property points > and I would like each marker to display the company logo instead of > the original marker. i have checked javascript errors and cannot > figure out why the new markers are not showing. > > i have done my research and read the associative array > tutorial:http://econym.org.uk/gmap/basic16.htmhowever, i really do not need an > array i just need all the points to have the same marker. > > i used this website to create my > markers:http://www.powerhut.co.uk/googlemaps/custom_markers.php > and have a folder titled markers on my server. > > i know my mistake is simple, but i am relatively new to the google > maps api code and would appreciate any tips. thank you, > > adam > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to google-maps-...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-api+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-maps-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.