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

Latest commit

 

History

History
25 lines (15 loc) · 740 Bytes

File metadata and controls

25 lines (15 loc) · 740 Bytes

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