Perhaps I missed something.
I was wondering if there is a way to change the style of placemarks
(which are Polygons) loaded using a kml file.
The provided links are about methods of the GPolygon class, useful if
you, as suggested, build the polygons using json data.
But I cannot see any way to extract my placemarks from the kml (they
all have an ID), perhaps it doen't even make sense.

So I reformulate the question: can I retrive GPolygon objects from
KML using their ID, or I'm force to use json ?

Thanks
Filippo



On 19 Ott, 12:10, Marcelo <[email protected]> wrote:
> On Oct 19, 11:58 am,setecastronomy<[email protected]>
> wrote:
>
> >  The first question is how we can modify the
> > colour of the Countries (whose polygons are in the kmz ) to reflect
> > the actual values loaded  from the json array.
>
> http://code.google.com/apis/maps/documentation/reference.html#GPolygo...http://code.google.com/apis/maps/documentation/reference.html#GPolygo...
>
> > The second question is
> > if this a valid approach or if there are better ones.
>
> I would eliminate the KML/KMZ and save the already encoded polygons in
> a databse, and then load them as JSON as 
> well.http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
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