Thanks for your replies, it's now working perfectly. Cheers
On Nov 22, 6:30 pm, "[email protected]" <[email protected]> wrote: > On Nov 22, 9:02 am, chucki01 <[email protected]> wrote: > > > Hi everybody > > > I'm trying to personalize my marker icon. I want the same marker icon > > everywhere. > > > Here's the page where I'm trying to do it, but it's still showing > > Google's default arrow, and not my personalized icon > > > Here's where I'm testing > > >http://www.orientezmoi.com/iframegeo-article.php?chaine_id_etab=454,1230 > > > If someone can help that would be great > > you have created > // Set up our GMarkerOptions object > markerOptions = { icon:bluearrow }; > > and used it in your createMarker function, but the createMarker > function doesn't do anything with it. > > function createMarker(point,html) { > var marker = new GMarker(point); > > The place you need to put the markerOptions ultimately is the > constructor for GMarker. > like this: > var marker = new GMarker(point, markerOptions); > If you only have one custom icon, you can probably just do it as a > global. > > -- Larry > > > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
