Ohh dont make me feel bad... I am sorry for so many requests... it is just that I like the api a lot.
My port of the PolylineEncoder was made in 10 minutes... so maybe it is not the most correct one... it works for me at least. I will send you the class in a private email. Javier. On Sep 30, 2008, at 1:38 AM, pamela (Google Employee) wrote: > > Hi Javier-- > > I think two of you have ported PolylineEncoder to AS3 then (you and > abr). I'd be happy to have either of you add yours to the utility > library, so that other developers can easily find it. > > Can you file the feature request for the ability to create donut polys > without using encoded? I think you're our #1 requester. :) > > - pamela > > On Tue, Sep 23, 2008 at 2:04 AM, Javier de la Torre > <[EMAIL PROTECTED]> wrote: >> >> 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 -~----------~----~----~----~------~----~------~--~---
