Hi Flexa, Thanks. I get the polygons in SHP format. I have a compilation step that I wrote in Java. It uses GeoTools to parse the SHP files and serialize them to an XML format. I embed this XML file in the Flex app and then parse it and construct a bunch of Polygons.
The XML file for my district data is big, over 700K. I wanted the SWF download to be smaller so I implemented encoding the Polygons before serializing them to XML. This made the XML data much smaller (~150K). But the resulting SWF was only about 95K smaller. I guess that Flex GZIPs embedded text files, which is smart. Jesse On Dec 12, 12:47 am, Flexa <[email protected]> wrote: > Hi Jesse, > > your map is really amazing. How did you create the restricts border/ > overlay? Is that a handmade Polyline ? > > Thanks a lot. > - Flexa > > On Dec 12, 2:47 am, Jesse <[email protected]> wrote: > > > I just wanted to share with everybody that today I released a > > completely revamped version of my site, HowSFVotes.com. The old > > version was built (in 2004) on Flash and all custom GIS code. This new > > version is built on top of Google's Maps API for Flex. > > >http://www.howsfvotes.com/#08G:8;;P;AB > > > The Flex API made it incredibly easy for me to develop the site. I > > accomplished much more in the past two weeks than I did in two months > > in 2004. I used the following parts of the API: polygon and marker > > overlay, OverlayBase, Local Search (not actually part of the API), > > encoded polygons, custom panes, zoom and move events, and more. > > > If anyone in this group has questions about how I implemented specific > > features of HowSFVotes, feel free to post them here or on my site > > blog,http://blog.howsfvotes.com. > > > Thanks Google and the Maps API community! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
