Sorry, I didn't mean you can replace your createMarker function with just one line of code. I meant you can change this line
var marker = new GMarker(point,icons[icontype]); by that var marker = new GMarker(point, myIcon); -- 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.