Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

MapBox

Descripción

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.

  1. Visit tiles.mapbox.com and find the map you want to embed.
  2. When viewing the map click the «Embed» button. It’s in the bottom right corner of the map.
  3. Adjust the height and width of the map in the popup.
  4. When you’re happy with the map, copy the ‘embed code’. It begins with «<iframe».
  5. On your WordPress site add a new post, or edit an existing one.
  6. Switch the editor to «HTML» and paste the embed code where you’d like the map.
  7. Save, then view your post and enjoy the map!

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 {account}.{layer}.
  • 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.

Instalación

Upload the Mapbox plugin to your site and activate it in the usual manner.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«MapBox» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «MapBox» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.1.1

- Bugfix for double quoted shortcode attributes.

1.1.0

- Support the v3 embed API.
- Properly santize shortcode attributes.

1.0.0

- Initial Release.