Hi Simon, Amit- I've now added full support for MultiGeometry to the KML parsing library and made a demo showing the functionality: http://gmaps-utility-library-flash.googlecode.com/svn/trunk/examples/KMLParser/bin-release/KMLParser.html
Choose "multigeometry.xml" from the drop-down to see the example from the KML references - two LineString elements. You can view the code to see how I dealt with multiple geometries. You may have different storage needs; depending on what you're doing with your geometries. - pamela On Sun, Mar 22, 2009 at 4:31 PM, Simon Ilyushchenko <[email protected]>wrote: > Hm - is this enough for full MultiGeometry support? It seems that > until MultiGeometry is added to com.google.maps.overlays, being able > to recognize the tag is not very useful by itself. I am going to do it > anyway in my application, but I'll have to maintain a data structure > that connects each MultiGeometry with their children geometries (to > support mass operations on them). > > Also, Amit's files do not contain full support for MultiGeometries - > they only allow for one Point and one Polygon, not an arbitrary list > of geometries. > > On Mar 17, 4:40 am, pamela fox <[email protected]> wrote: > > Thanks, Amit! I'll try to integrate it this week. > > > > If you actually have a demo KML that this works with, I can extend the > > demo to show it. > > > > On Sat, Mar 14, 2009 at 10:25 AM, Amit Pal <[email protected]> > wrote: > > > Hi Pamela, > > > > > I have tried to add the multi-geometry support in KML.(files attached) > . > > > Please let me know if it looks ok and might be useful for the group. > > > > > Thanks, > > > Amit > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
