Examples
basics
filtering
- text filter
- bounding box filter
- nearest filter
- feature collection clipped
- feature collection filter
- convert to centroids
- buffer polygons
drawing
styling
querying
basic map
This example loads a map of Europe using the "EUROPE" key.
The "EUROPE" map was created using the Mapzania MapStyler.
See www.mapzania.com/manual/concepts-mapstyler for more details on how to use the styler.
Also see www.mapzania.com/jsapi/map-object for more details on how to create a Mapzania.Map object.
window.onload = function () {
var map = new Mapzania.Map("map-div", "EUROPE");
};
#map-div {
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
}
<div id="map-div"></div>