Thanks Rossko, I appreciate your input, it gives me a direction to
study up on and keep moving forward.  Much appreciated!

John

On Mar 8, 5:35 pm, Rossko <[email protected]> wrote:
> >  And to the larger question, would all those separate polylines
> > be contained within a kml file, and the polygons be contained within a
> > "GLayer" object to whihc i can apply events?
>
> There's a number of ways to go about it, but ...
> Use of KML could restrict the flexibility of what you're trying to do.
> I'd look at a custom solution.
> GPolylines are just another javascript object ; you could give them a
> custom property like
>      mypolyline.mycategory = 'Indonesia'
> You could have listeners checking that property on 'their' object
> on mouseover ...
>      if  (polyline.mycategory = 'Indonesia') then do stuff
> If you keep an array of you polylines from creation, you could write a
> routine
>     for each polyline
>         if polyline.mycategory = same as mousover poly, then highlight
> (change colour or width)
> Some of these techniques are herehttp://econym.org.uk/gmap/

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