On Oct 21, 2:38 pm, setecastronomy <[email protected]>
wrote:
> So I reformulate the question: can I retrive GPolygon objects from
> KML using their ID, or I'm force to use json ?

Yes.
Just make sure you load them with GeoXml or EGeoXml, and not with
GGeoXml:
http://www.dyasdesigns.com/geoxml/
http://econym.org.uk/gmap/egeoxml.htm

--
Marcelo - http://maps.forum.nu
--



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