Title: Leaflet-map shortcode-polygon not working
Last modified: November 13, 2022

---

# Leaflet-map shortcode-polygon not working

 *  Resolved [amar8105alva](https://wordpress.org/support/users/amar8105alva/)
 * (@amar8105alva)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/)
 * I made new install leaflet-map plugin in WordPress and noticed that polygons 
   are not working, not even in the shortcode helper page, the map showed is the
   default but no polygon displayed.
    Also, is there a way to create a shortcode
   that show a specific city(given the name) with the boundaries highlighted and
   a filled color?
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16193643)
 * Polygon shortcode is working! Do you have an other plugin installed, that uses
   leaflet.js?
 *  Thread Starter [amar8105alva](https://wordpress.org/support/users/amar8105alva/)
 * (@amar8105alva)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16193701)
 * No I don’t. Just installed Leaflet-map plugin into my new WP. I’m testing but
   noticed that polygons are not showing. Not even the example provided in the Shortcode
   Helper Page of the plugin, it only show a default map without polygon.
 *  Thread Starter [amar8105alva](https://wordpress.org/support/users/amar8105alva/)
 * (@amar8105alva)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16193741)
 * Solved!
    It was apparently related with the spanish translated plugin version.
   Once de-activated and uninstalled, made a new download(original english plugin)
   and the polygon now shows perfectly.
 * Thanks
    -  This reply was modified 3 years, 6 months ago by [amar8105alva](https://wordpress.org/support/users/amar8105alva/).
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16193786)
 * I do not understand this (that is, from the WordPress logic). Just because the
   language is Spanish, it doesn’t work? I’m working with the german translation
   without problems.
    Nice that it works now.
 *  Thread Starter [amar8105alva](https://wordpress.org/support/users/amar8105alva/)
 * (@amar8105alva)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16194277)
 * Me neither, but as experienced (happened before) sometimes the translations can
   cause some bugs, though maybe is something else, but the new installation fix
   the issue.
    Thanks anyway.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Leaflet-map shortcode-polygon not working’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [amar8105alva](https://wordpress.org/support/users/amar8105alva/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/leaflet-map-shortcode-polygon-not-working/#post-16194277)
 * Status: resolved