• Resolved markburton52

    (@markburton52)


    I am using exactly the same method (shortcodes within an Events Manager Attribute, but I have the same problem when simply entered into the tinyMCE editor) to create the map and map marker as previously but for this new location I just get a blank map. I’ve checked and double-checked the lat and long and the two shortcodes and can’t see a problem. Previously submitted shortcodes continue to work. The two shortcodes in question are [leaflet-map zm=”16″ Lng= “-2.2523715” Lat= “53.4485752”] [leaflet-marker Lng= “-2.2523715” Lat= “53.4485752”].

    I note that “Warning: this plugin has not been tested with your current version of WordPress.” – I am using WP v.6.7.2

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor hupe13

    (@hupe13)

    I works with WP 6.7.2. Maybe your shortcode has typos because copy and paste, but this should work:

    [leaflet-map zoom=16 lng=-2.2523715 lat=53.4485752] 
    [leaflet-marker lng=-2.2523715 lat=53.4485752]My marker[/leaflet-marker]
    Thread Starter markburton52

    (@markburton52)

    Thanks – yes that works now. I can’t see where I went wrong – but possibly via a spreadsheet formatting error (as I prepare the shortcodes using a spreadsheet formula from the lat and long).

    Plugin Contributor hupe13

    (@hupe13)

    You need the " characters only, if the option has spaces. So for lat and lng the " characters are not necessary.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.