I've just installed the plugin on a fresh wordpress 5.2.2, with ACF Pro 5.8.1.
Created a new group of fields, add two fields : text, and Openstreetmapfield.
The openfield map setup screen works fine.
When I'm going on the form page element, nothing show and I've got a JS error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataacf-input-osm.min.js:1:5174
Hello !
I've just installed the plugin on a fresh wordpress 5.2.2, with ACF Pro 5.8.1. Created a new group of fields, add two fields : text, and Openstreetmapfield.
The openfield map setup screen works fine. When I'm going on the form page element, nothing show and I've got a JS error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataacf-input-osm.min.js:1:5174
Details :
getMapData http://offtracks.sbk3011.com/wp-content/plugins/acf-openstreetmap-field/assets/js/acf-input-osm.min.js?ver=1.1.1:1 initialize http://offtracks.sbk3011.com/wp-content/plugins/acf-openstreetmap-field/assets/js/acf-input-osm.min.js?ver=1.1.1:1
Options on the field (raw, leaflet, etc ...) dont seems to change the behavior, still got this error.
Thanks !