mcguffin / acf-openstreetmap-field
WordPress ACF Field for OpenStreetMap
Installs: 3 285
Dependents: 0
Suggesters: 0
Security: 0
Stars: 106
Watchers: 11
Forks: 21
Open Issues: 15
Type:wordpress-plugin
Requires
- php: >=5.6.0
- composer/installers: ~1.2
This package is auto-updated.
Last update: 2024-04-26 11:48:30 UTC
README
This is the official github repository of the ACF OpenStreetMap Field plugin.
About
Configurable OpenStreetMap or Leaflet Field in ACF.
Requires ACF 5.7+
Features
- Configurable Map-Tile Provider
- Selectable Map Overlays
- Multiple Markers
- Ready-to-use HTML-Output
- Custom map markers through WordPress filters and JS Events.
Installation
In WP Admin
Just follow the Automatic Plugin Installation procedere.
WP-CLI
wp plugin install --activate acf-openstreetmap-field
Using composer
composer require mcguffin/acf-openstreetmap-field
Development
git clone git@github.com:mcguffin/acf-openstreetmap-field.git
cd acf-openstreetmap-field
npm install
npm run dev
Usage
There is some developer centric documentation in the wiki.
Development
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!)
Thanks
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