These classes provide an easy way to load and render a shapefile in AS3 and can be a basis for more complex operations. In their basic implementation, a shapefile can be drawn to the screen with a single line of code.
This code is a very basic structure for creating a pannable, zoomable ("slippy") map from an image or other graphics in Flash. It demonstrates some of the necessary methods and how to use them interactively.
This class draws a single Bezier spline through a specified series of points, allowing for some control over the appearance of the curves. By drawing one or a series of cubic Bezier curves, it provides a useful addition to the built-in ActionSctipt quadratic Bezier
This class provides basic drawing methods for dashed lines in ActionScript. A style is set by specifying the lengths of dashes and gaps, and then lines are drawn using some of the same types of commands as the built-in drawing methods.
E00Parser loads the E00 topological GIS vector format into any ActionScript 3-based application. E00 files store topological information, making it easy to extract information on adjacency and shared border length, properties that open up new possibilities for experimentation in web mapping.
This code takes an array of objects containing geometry and attribute properties and draws a noncontiguous cartogram by scaling each feature according to its value in a chosen thematic attribute. Methods are included for loading geographic data from shapefile, making it quick and easy to create a cartogram.
Given a field of points with values, this package creates a triangulated irregular network (TIN), interpolates values, and draws an isoline map, all with just a few lines of code.
This ActionScript code allows easy drawing of coxcomb charts, the circular wedge charts popularized by Florence Nightingale. The code is very simple to implement and includes some methods for tweening and interaction.
This is a simple and quick Python module to load shapefiles and populate a text list of their contents. As a stand-alone module, it provides a much easier alternative to existing larger open source geospatial libraries for those who only need to load and parse a shapefile.