Saw that in the documation but I had interepreted it as letting me
creating a single polygon in addition to whatever was in the KML
file.  Would you know of an example of someone doing something
similar?    Is it just a matter of throwing a simple line of code into
the constructor?

As of now it's able to do:

exml.gpolygons.length
exml.gpolygons[i].Contains(point)

As well as hiding and reshowing the appropriate polygon (if I add the
appropriate code)

Is there a page of documentation I'm missing for createpolygon or
something?




On Apr 22, 12:51 am, "[email protected]" <[email protected]>
wrote:
>
> Looking at the code, it looks like it doesn't store those anywhere.
> But from the documentation:
> {createpolygon: ... } A reference to your own createPolygon()
> function.
> Use this if you want to handle your ownpolygoncreation.
> The function will be called with the parameters: points, colour,
> width, opacity, fillcolour, fillopacity, bounds, name, description.
>
> It looks like you could define your own createpolygon function which
> added a Name (or whatever you wanted to call it) property to thepolygon, then 
> you could get it like your first example above
>
> marker.openInfoWindowHtml(exml.gpolygons[i].Name);
>
>   (not tested...)
>
>   -- Larry
>
>
>
>
>
> > The page I'm working on is at:
>
> >http://www.alliedwasteidaho.com/trash-and-recycling/collection-map2.p...- 
> >Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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