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.
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' );
- Install dependencies by running
yarn
ornpm install
. - To build run
npm run build
- Development run
npm run watch