On Mar 26, 4:51 pm, "[email protected]" <[email protected]> wrote:
> Im trying to use custom icons on my map i got it working on a simple
> map shown herehttp://www.skylabcs.com/store_locator/customicon_end.html
> but i cant get it to work on my store locator here

http://www.skylabcs.com/store_locator/an_store_locator.html

> were do i put the code on the store locator script.

I would put the icon definition code in the global scope.

Then add it to the line where you create your markers (inside your
createMarker function):
      var marker = new GMarker(point, markerOptions);

You can put the definition of makerOptions in either place.

   -- Larry


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to