A Javascript Mapping Abstraction library.
Clone or download
Pull request Compare This branch is 2 commits behind mapstraction:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Mapstraction Javascript Library

This is now the official Mapstraction repository. It can be found at http://github.com/mapstraction/mxn

About Mapstraction

Mapstraction is a library that provides a common API for various javascript mapping APIs to enable switching from one to another as smoothly as possible. Developers can code their applications once, and then easily switch mapping provider based on project needs, terms and conditions, and new functionality.

Users can switch maps as desired based on personal taste and quality of maps in their local area. Various tools built on top of Mapstraction allow users to easily integrate maps into their own sites, and configure them with different controls, styles, and provider.

Why Mapstraction?

Mapstraction additionally fills some holes each provider's current offerings (taking advantage of existing open source solutions where possible) to normalise the feature set across platforms. Mapstraction also uses OpenStreetMap for people who want to build maps without restrictions on derived works.

Mapstraction is open-source and released under the BSD License.

Major Features

  • Support for more than 11 major mapping providers
  • Dynamic switching of provider
  • Point, Line, Polygon support
  • Marker Filtering by Time, Category, or any attribute
  • Image overlay and base tiles
  • GeoRSS and KML feed import
  • Geocoding of addresses
  • Driving directions

Supported Libraries

Mapstraction Users

  • Nestoria
  • GeoPress
  • Reuters
  • The Los Angeles Times
  • GeoNames
  • IDELab
  • ... and more

The Mapstraction homepage is available at http://mapstraction.com.