Skip to content

zirkeldesign/acf-openstreetmap-field

 
 

Repository files navigation

ACF OpenStreetMap Field

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-dropzone
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 dirs
  • npm run test: load some test fields
  • npm run dev-test: load some test fields and watch css and js soure dirs
  • npm run dashicons: Generate dashicons scss variables from source
  • npm run i18n: generate .pot file
  • npm 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:

Packages

No packages published

Languages

  • JavaScript 92.7%
  • PHP 4.6%
  • CSS 1.8%
  • Other 0.9%