HTML5 + Canvas + JavaScript + jQuery + KML = mappin it up
The above demonstrates the dynamic loading, projection, and rendering of a polygonal KML file using HTML's Canvas element and Javascript. View source to see what's going on.
- Data: generalized_african_countries.kml from GeoCommons
- Loading: simple custom KML loading method written with some jQuery
- Projection: The Proj4js library's Albers equal-area conic projection
- Rendering: simple JavaScript method to render to HTML's Canvas element
For more, check out the blog entry here.
created by Zachary Forest Johnson of indiemaps.com