I installed the plugin, brought up the field, but then wikimedia.org returns 403 for all map slides, screenshot – https://take.ms/EtmOp. In this case, if you follow the link, the slide will open, for example – https://maps.wikimedia.org/osm-intl/14/9904/5123.png
A quick googling of the issue revealed that wikimedia has banned third-party vendors from embedding their maps – https://help.openstreetmap.org/questions/77796/error403-cannot-display-the-map
Is the plugin not working anymore or am I doing something wrong?
]]>I have been experiencing problems with the address search function, looking into Algolia who provide this search I see that they are discontinuing the service soon.
I have had no problems using the OpenStreetMap Nominatim address search function and would like to replace the Algolia Places search with Nominatim search in the ACF:Leaflet plugin. Is this something you could assist with or offer some advice on please, or have you the intention to replace Algolia Places yourself?
Thank you for your time.
]]>First off, thanks for the great plugin!
I’m seeing an issue using this field within the new Gutenberg editor. When the editor first loads, the Leaflet field shows up, but areas of the map are grayed out. Resizing the browser window slightly makes the map appear correctly.
Steps to replicate:
I believe what’s going on is that because the Gutenberg panels load without a fixed size, the map gets thrown off. I think the fix would be to wait until the Gutenberg panels load, and then run map.invalidateSize()
on the map. (map.invalidateSize()
runs during a window resizing, which would explain why the map shows up correctly when the browser gets resized.)
Hope this bug report helps!
]]>As title explains. I can’t get it to work when it’s nested into a repeater field. It spits out an error in inspector:
Uncaught TypeError: Cannot read property ‘getAttribute’ of undefined at initialize_field (input.js:12)
]]>