Mike, thanks for your response.
The unsafe way sounds like more work than the safe way and, as you
suggest, it could break at any time.
Therefore, I've gone with EGeoXml and coded my own createpolyline
function which uses or changes the kml file's line style depending on
circumstances. A test of the basic structure works perfectly - now
just have to fill in the details.
Thanks for your help.
On Nov 1, 5:07 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> The unsafe way is to listen for "addoverlay" events. Check to see if the
> added overlay is a polyline, and if it has a .name property, and if that
> .name property is the one you're interested in.
>
> That's unsafe because the .name property used by GGeoXml is not
> documented, so it could change in future releases of the API.
>
> The safe way is to use GeoXml or EGeoXml instead of GGeoXml, and write
> your own {createpolyline} function.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---