On Mar 4, 12:38 pm, Andrew Leach <[email protected]>
wrote:
> On Mar 4, 12:26 pm, Will <[email protected]> wrote:
>
> > The mouseover (another great tutorial at:
> >http://econym.org.uk/gmap/mouseover.htm)
> > was my preferred solution as I could make the default icon blank and
> > make the mouseover icon real - but I cannot get it to work with
> > multiple sidebars, tabbed icons and XML.
>
> > Can anyone give me any pointers/help on how to hide the markers on
> > start-up and only make the markers visible when you hover over or
> > click on the sidebar entries?
>
> Why not define your markers with entirely transparent icons and
> use .setImage to change the image on mouseover or click? A potential
> downside (or maybe a desirable feature) would be that the invisible
> marker would cause the cursor to change to a hand and the location
> could be clicked. You could set {clickable:false} to avoid that so
> only the sidebar worked.
>
> Was that what you have already tried? If that's what you would like to
> do, then a link to that version of your page would be welcome.
>
> Andrew

Hi Andrew, thanks for your help.

Sorry I don't have a link to that version of my page as the end result
was basically the same as the tutorial: http://econym.org.uk/gmap/mouseover.htm

My problem was that I couldn't integrate it with sidebars and tabs.

Your suggestion of transparent icons sound a good idea - any idea on
how I can appoach this with the following map:

http://geocities.com/middcc/google-map3.htm

Sorry i'm still very new to javascript and have been following
tutorials and this forum to get where I am now.
--~--~---------~--~----~------------~-------~--~----~
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