Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…
About ACF OpenStreetMap Field
This plugin allows you to easily integrate OpenStreetMap into your website using Advanced Custom Fields (ACF). You can choose from different map styles and add markers to your map. The plugin also includes a proxy mechanism to hide sensitive information and comply with privacy regulations.Screenshots




Changelog
1.6.1
- Fix PHP fatal during upgrade
1.6.0
- Introduce Map Proxy
- Slightly improve settings page
- Update map providers
- Fix: _load_textdomain_just_in_time notice
- Fix: Add marker pointer events
- Fix: Maps in WP Admin not inited
1.5.7.
- Fix: Backend Map broken
- Fix: Geocoded result not stored in raw data
1.5.6.
Fix: PHP notice version_compare
1.5.5
- JS: use IntersectionObserver to detect whether a map has become visible
- Fix: ACF field not inited in Flexible Content and repeaters
- Fix: JS recursion
- Fix: fit bounds not working
- Fix: marker drag not triggered
- Fix: marker unique-IDs not always created
- Fix: Block editor issues
1.5.4
- Fix: JS ReferenceError on move marker with max markers = 1
1.5.3
- Fix: Disable provider settings not displaying
1.5.2
- Fix: JS Error if some providers are disabled
1.5.1
- Backend UI: Attribution below map
- ACF Field: Introduce conditional logic
- Fix: Some map controls not visible in Blockeditor sidebar
- Fix: Marker instructions display
- Providers: Migrate Stamen to Stadia Maps
- Providers: Update Esri Ocean base map, OpenAIP, Opensnowmap, OpenWeathermap, OpenFireMap, NLS, OpenRailwayMap, Jawg, MapTiler, MtbMap, nlmaps
- Providers: Remove HERE (Legacy), Hydda (service down)
- JS: Rewritten ACF integration
1.5.0
- Use Leaflet noConflict
- Refactor JS
- Geocoder: Address detail level is now controlled by map zoom
- Geocoder: Provide filters for configuration overides
- Fix: Make JS event
acf-osm-map-marker-createdbubbling - Fix: JS Crashes in ACF Blocks
- Fix: Weird coordinates (worldCopyJump)
1.4.3
- Fix: JS – acf hook
acf-osm/create-markerundefined argument + not firing on geocode
1.4.2
- Fix: JS Error on append repeater
1.4.1
- JS: remove console.log
- Fix: admin js broken after jquery removal
1.4.0
- UI: Adapt to ACF 6 field group admin
- JS API: do acf actions on marker events
- JS Frontend: remove jQuery dependency
- Data: add geocode results to raw data
- Fix: search submit button did not submit
- Fix: print template script only if input element is present
- Fix: value sanitation. Shold now work with Frontend Admin for ACF
1.3.5
- Fix: Admin Marker styling broken
- Fix: PHP Fatal with suki theme
- Fix: include leaflet control geocode assets
1.3.4
- Fix: locate control API
1.3.3
- Upgrade leafletjs, leaflet-control-geocoder, leaflet-providers, leaflet, leaflet.locatecontrol to latest releases
- Remove HikeBike map provider
- Support ACF Rest API integration (since ACF 5.11)
- Fix: PHP 8 compatibility
- Fix: iframes in block preview not editable
- Fix: quote missing on html attribute in osm template
- Test with WP 6.0
1.3.2
- Fix: No such variant of OpenStreetMap (Mapnik)
- Fix: Popups not opening in Safari
- Quick and dirty Fix: invalid (localized) lat/lng object.
1.3.1
- Fix: JS Event acf-osm-map-marker-create not applying marker options
1.3.0
- Theme Overrides: Override map output in your theme
- Breaking Change: Use native JS Events
- Breaking Change:
osm_map_iframe_templatefilter gone in WP 5.5 - Fix: jQuery 3.x (WP 5.6) compatibility
- Fix: Map not showing on login form
- Fix: Providers not loaded if webroot owner is not www-user
- Upgrade: Leaflet 1.7.1
- Upgrade: Leaflet Providers 1.11.0
- Upgrade: Leaflet Control Geocoder 2.1.0
1.2.2
- Fix: Duplicated Row (ACF 5.9+)
1.2.1
- Upgrade FreeMapSK, CyclOSM
1.2.0
- Feature: Settings page allowing you to disable specific map tile providersw
- Feature: Fit markers in view (backend)
- Upgrade: leaflet-providers, leaflet-control-geocoder, leaflet.locatecontrol
1.1.9
- UI: Add Settings link on plugins list table
- Fix: hide map provider with unconfigured api key from layer selection
- Upgrade: leaflet-control-geocoder, leaflet.locatecontrol, leaflet-providers
- Security hardening
1.1.8
- Feature: make marker address formats localizable.
- JS: pass map init object along with acf-os-map-create event
- UI: hide add marker at my location button if markers cant be added
1.1.7
- Feature: Add locate me button to backend
- Fix: Geocoder search result still visible after marker added to map.
- Fix: Required field and max_markers = 0 never saved
- Fix: HERE app code not included in api requests
1.1.6
- Feature: Observe DOM for newly added maps
- Feature: allow manipulation of layer config in JS
- Fix: JS event ‘acf-osm-map-marker-create’ not triggered
1.1.5
- JS: added event Listener for ajax-loaded maps. Use
$(my_map_div).trigger('acf-osm-map-added');on each newly added map. - Upgrade LeafletJS to 1.6.0
1.1.4
- Upgrade Leaflet Providers to 1.9.0
- Upgrade Leaflet Control Geocode to 1.10.0
- Fix: Redraw maps when they become visible
1.1.3
- UI: Better formatting for automatic marker labels
- Fix: Map controls zindex in Block-Editor
- Fix: Adding markers not working on mobile devices
1.1.2
- Fix: PHP Strict Standards message
1.1.1
- Fix: Required Field behaviour – “required” means now “must hava a marker”
1.1.0
- UI: Usability Improvements
- Tested: Verfied Compatibility with Widgets, Block-Editor, Frontend Form
- Stored data pretty much like google map field
- Code: Refactored JS
1.0.1
Convert Values from ACF Googlemaps-Field
1.0.0
Initial Release
