Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

mattheu/WordPress-Gutenberg-Mapbox-Block

Repository files navigation

Matts Mapbox Map Gutenberg Block Test

THIS PROJECT IS CURRENTLY IN DEVELOPMENT. THINGS ARE LIKELY TO CHANGE.

Insert map blocks in Gutenberg. Stunning maps provided by Mapbox.

Note that you will need a Mapbox account to use this.

Example of the a full width map with satellite style.

Example of the a full width map with satellite style.

Usage

You will need a Mapbox account and API key. Define the key in your wp-config.php like so:

define( 'MATTHEU_GB_MB_TEST_KEY', 'KEY' );

Build

  • Install dependencies by running yarn or npm install.
  • To build run npm run build
  • Development run npm run watch

About

Mapbox Map block for the Gutenberg WordPress editor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published