MapBox makes it easy to embed beautiful maps in your posts.
Using the MapBox plugin you can quickly and easily embed maps from MapBox Hosting into your site. MapBox hosting is an easy-to-use service for hosting maps. Whether you design custom maps in TileMill or use the existing layers in our tileset library, MapBox makes it easy get maps onto your site.
You may notice that the MapBox plugin converts the embed code into a WordPress shortcode. The
mapbox shortcode can take several options, all of which are optional. The order doesn't matter at all.
layers- a comma seperated list of layers. The format of each layer is
width- the desired width of the map, in pixels.
height- the desired height of the map, in pixels.
lat- The latitude where the map should be centered.
lon- The longitude where the map should be centered.
z- The 'zoom level' of the map. Zoom level '12' is a street level view, '1' is the view from the moon.
options- Controls and other options, a comma seperated list.