Hi all,

Does anyone know how Google Maps API creates a polygon with inner
boundary in it?

>From what I got in Google Maps API Reference,

GPolygon(latlngs:GLatLng[], strokeColor?:String, strokeWeight?:Number,
strokeOpacity?:Number, fillColor?:Number, fillOpacity?:Number,
opts?:GPolygonOptions)

I believe most of the developers here already know how the constructor
works, what is bugging me now is I had a KML file with the polygon's
outer boundary's coordinates and the inner boundaries' coordinates,
I've filled the latlngs with outer boundary's coordinate and my
application did successfully creates a polygon but without the inner
boundaries.

However, if I open the KML file in Google Earth, it could generate the
same polygon together with the inner boundaries.

I wonder how Google Maps API generates the inner boundaries from value
in KML file.

Any help is greatly appreciated.

Thanks in advance.

P/S: Sorry for my bad command of English.

Best Regards,
Kent

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