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

1.5.6 2023-11-26 10:39 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 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: