Friday, May 29, 2009
Direct use of Polygon Shape File in Layer for ESRI
So I went to the Flex 360 Conference and saw some great presentations.
But the two I liked the most were the ESRI mapping session by Mansour
Raad and the Array's one by Michael Labriola. Mansour talked about
building a custom layer that used sprites for the graphics and a spatial
index. Then in the Array's session Michael talked about how to improve
performance by using byte array's and vectors. So I combined both and
have a custom shapefile layer that never converts the data from the
raw byte array and I use the spatial index to speed the draw times also.
It needs some work still but it works pretty well already and is pretty
easy. So here is the code and since I am using vectors you will need flash player 10.
Subscribe to:
Posts (Atom)