may just the wrong approach, why not geocode every rout when hovering/ click a pin?, there is no need to set it visi or invisible ;) (yes, its fast enough ~ usually)
On 28 Jun., 18:55, frank <[email protected]> wrote: > My programmers are having a hell of a time figuring out one feature that I > thought you might be able to help with. > > I have a home search site. > > It allows the user to enter in 1 work address. When they do a search it > currently shows the distance in miles to each home for sale. (in a list > below it) > > But now I want it to show the 20 homes for sale and when you mouseover each > pin, I want it to show the driving directions (the lines on the map) from > the selected home to the work. > > But they can't for their life figure out how to hide and show the lines. > They can have all 20 lines show up, but not hide and show on mouseover. > > This solution did not work: > "Plot all 5 routes with opacity zero. When a mouseover occurs use > .setStrokeStyle to change the opacity to make it visible. When a mouseout > occurs use setStrokeStyle to set the opacity back to zero." > > Any suggestions? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
