This is the official github repository of the ACF OpenStreetMap Field plugin.
Configurable OpenStreetMap or Leaflet Field in ACF.
Requires ACF 5.7+
- Configurable Map-Tile Provider
- Selectable Map Overlays
- Multiple Markers
- Ready-to-use HTML-Output
- Custom map markers through WordPress filters and JS Events.
Just follow the Automatic Plugin Installation procedere.
wp plugin install --activate acf-openstreetmap-field
composer require mcguffin/acf-openstreetmap-field
git clone [email protected]:mcguffin/acf-openstreetmap-field.git
cd acf-dropzone
npm install
npm run dev
There is some developer centric documentation in the wiki.
npm scripts:
npm run dev
: Watch css and js soure dirsnpm run test
: load some test fieldsnpm run dev-test
: load some test fields and watch css and js soure dirsnpm run dashicons
: Generate dashicons scss variables from sourcenpm run i18n
: generate.pot
filenpm run rollback
: remove last commit (local and remote – use with caution!)
This plugin wouldn't have been possible without these awesome people and Projects:
- Jan Pieter Waagmeester (Leaflet Providers)
- Per Liedman (Leaflet Control Geocode)
- The entire Leaflet Project