We want to build your map.

Code Library

Simple shapefile drawingSimple shapefile drawing Actionscript 3

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.

> Source code

Simple map panning and zoomingSimple map panning and zooming Actionscript 3

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.

> Source code

Continuous curvesContinuous curves Actionscript 3

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 curveTo method.

> Source code

Dashed linesDashed lines Actionscript 3

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.

> Source code

E00ParserE00Parser Actionscript 3

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.

> Source code

Noncontiguous cartogramsNoncontiguous cartograms Actionscript 3

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.

> Source code

IsolinesIsolines Actionscript 3

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.

> Source code

Coxcomb chartsCoxcomb charts Actionscript 3

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.

> Source code

Python shapefile loadingPython shapefile loading Python

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.

> Source code