Map Block Leaflet

Descripción

Map Block Leaflet está diseñado para trabajar en el editor Gutenberg, se ha creado para facilitar, todo lo posible, incrustar mapas en el contenido sin la necesidad de incluir una clave API y poder personalizarlo de forma visual

Contribuir:

Este plugin es software de código abierto, y puedes contribuir en Github.

Instalación y configuración

Nota: Este plugin necesita WordPress 5 o activado el plugin de Gutenberg

  1. Sube ‘leaflet-map-block’ al directorio ‘/wp-content/plugins/’.
  2. Activa el plugin a través de menú ‘plugins’ de WordPress
  3. Añadir nuevo bloque, búscalo en la categoría incrustados
  4. Busca una ubicación y cambia las opciones hasta conseguir el aspecto deseado
  5. Publica y disfruta

Capturas

  • Mapa sencillo dentro del editor
  • Tema de mapa realista

Bloques

Este plugin proporciona 2 bloques.

  • Map Leaflet multimarker Easy way to inside maps in your contents
  • Map Block Leaflet Allows embed maps in your contents, good alternative to Google Maps without the need for api key

Reseñas

13 de febrero de 2023
I detected a problem, I communicated it to the author and in a few days he fixed it. Thank you for creating this plugin. Grateful for your time and your wonderful creation.
10 de marzo de 2020
Works great, looks great; highly recommended. I wanted to avoid gutenburg in my own plugin, and this plugin seems to work perfectly. - Author of https://wordpress.org/plugins/leaflet-map/
5 de octubre de 2019
Very useful, great alternative to google map - quick and simple to use.
Leer todas las 8 reseñas

Colaboradores y desarrolladores

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

Colaboradores

«Map Block Leaflet» está traducido en 3 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Map Block Leaflet» 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

3.1.1

  • Fix. Escape tooltip’s content, thanks to Jordi Fita

3.1.0

  • Fix. Single marker wait for dom ready for initialize map
  • Improvement. Multimarker content marker is not required, thanks to @josivela
  • Improvement. Improve the organization of markers using labels, thanks to @josivela

3.0.0

  • Improvement. Rewrite using block.json
  • Fix. Address Search does not work, thanks to @davask42
  • Fix. Multimarker add new markers does not work, thanks to @josivela
  • Fix. Replace black and white theme
  • Feat. Multimarker allow modification latitude and longitude
  • Improvement. Update version of library Leaflet map
  • Improvement. Add WordPress tested up version to 6.1

2.2.1

  • Improvement. Add WordPress tested up version to 5.9

2.2.0

  • Improvement. Invalidate size on resize container, thanks to @liqueurdetoile

2.1.0

  • Improvement. Remove assets when it isn’t in page, thanks to @PatrickFaramaz

2.0.3

  • Fix. Multimarker frontend, thanks to @baagi510

2.0.2

  • Improvement. Resize user experience

2.0.1

  • fix. Increase tested WordPress version

2.0.0

  • Feat. Multimarker block
  • Improvement. Refactor to functional component
  • Improvement. Use wp-scripts to compile code

1.8.7

  • fix. Remove sourceMap warning, when used in Chrome Devtools, thanks to @thomasprice61
  • fix. Replace wikimedia tiles by Stadia OSMBright

1.8.6

  • fix. Fix center when it is inside columns, thanks to @aribet

1.8.5

  • fix. Enqueue lib assets from register_block_type fix use blocks outside the content, thanks to @youdaman

1.8.4

  • Improvement. Update version of library Leaflet map

1.8.3

  • Improvement. Change automated deploy to github actions

1.8.1

  • fix. Update version files

1.8.0

  • Improvement. Support custom theme provider, thanks to @jeroensmeets
  • Improvement. Add new theme watercolor

1.7.1

  • Fix. After update a post remove number attributes, thanks to @davinian @jeroensmeets

1.7.0

  • Improvement. Allow newlines in tooltip text, thanks to @daviewales
  • Fix. Define variables and prevent php notices, thanks to @davinian @bjoluc

1.6.0

  • Security. Escape tooltip content
  • Improvement. Update version of library Leaflet map
  • Improvement. Add assets library Leaflet map

1.5.0

  • Improvement. Conditionally Load frontend assets

1.4.0

  • Improvement. Improve the theme selector
  • Improvement. Update version of library Leaflet map
  • Improvement. Disabled zoom by default

1.3.0

  • Bug Fix. No allow align left & right
  • Improvement. Resize behaviour
  • Improvement. Support themes with transtions pages
  • Improvement. Option disable scroll zoom

1.2.0

  • Bug Fix. Grayscale theme does not work
  • Bug Fix. The search engine appears over the block´s toolbar
  • Improvement. Allow alignments

1.1.0

  • Versión inicial en WordPress.org