• Resolved amar8105alva

    (@amar8105alva)


    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

    (@hupe13)

    Polygon shortcode is working! Do you have an other plugin installed, that uses leaflet.js?

    Thread Starter amar8105alva

    (@amar8105alva)

    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

    (@amar8105alva)

    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 2 years, 4 months ago by amar8105alva.
    Plugin Contributor hupe13

    (@hupe13)

    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

    (@amar8105alva)

    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.