Mapstraction
@ajturner
Mapstraction
Mapstraction
Map
abstraction
Ye ol' interwebs
GYM
Cartociudad Cloudmade Esri ArcGIS GeoCommons Google Leaflet MapQuest Microsoft Nokia OpenLayers OpenSpace Ovi Yahoo Yandex
<script src="js/mxn.js?(google)" type="text/javascript"></script>
var map = new mxn.Mapstraction('mapdiv','google');
<script src="js/mxn.js?(esri)" type="text/javascript"></script>
var map = new mxn.Mapstraction('mapdiv','esri');
<script src="js/mxn.js?(leaflet)" type="text/javascript"></script>
var map = new mxn.Mapstraction('mapdiv','leaflet');
var map = new mxn.Mapstraction('mapdiv',etcētera);
<script src="js/mxn.js?(leaflet,esri)" type="text/javascript"></script>
var map = new mxn.Mapstraction('mapdiv','leaflet');
map.swap('mapdiv', 'esri');
creation markers polylines polygons controls images inspection pan/zoom events JSON Filters swap
why?
freedom
paused -