Hi Pamela,

I have ported the PolylineEncoder class to AS3 to be able to create  
those polygons. If anybody is interested on it I will provide it.

I find ok the way to create polygons with holes like this. It is very  
similar to the OGC way of specifying these geometries. In my case I am  
generating the polygons from ArcGIS rest services and it is not  
complicated to make use of them like this.

Javier.


On Sep 23, 2008, at 10:53 AM, pamela (Google Employee) wrote:

>
> Hi Javier--
>
> I think you're correct in that currently fromEncoded is the only way
> to create holes (I know that's the case in the JS API). Please file a
> feature request for supporting it in normal polys, and I'll ask the
> team about it.
>
> Would also be interesting to hear if you think there'd be a better way
> of letting developers specifying polys with holes, besides multiple
> arrays.
>
> - pamela
>
> On Sun, Sep 21, 2008 at 7:28 AM, Javier de la Torre  
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have asuccesfully created polygons with "holes" inside by using
>> fromEncoded method passing first the outter ring polyline and then  
>> the
>> inner rings. But I was wondiering if there is a way to achieved the
>> same without using encoded polylines.
>>
>> In the API the Polygon object accepts an array of Lat/lng vertex
>> locations while the fromEncoded method An array of  
>> EncodedPolylineData
>> objects for polylines. Is there any reason why the Polygon is not
>> accepting an array of PolyLines?
>>
>> Thanks in advance.
>>
>> Javier.
>>
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to