@eeacms/volto-eea-map: Volto add-on
npm install @eeacms/volto-eea-map










Volto add-on
This addon contains the EEA Embed Map Block & EEA Map Block. It's configured to work with the map visualization content type and give more access to ArcGIS maps. See available maps here https://discomap.eea.europa.eu/
To enable automatic import of queries from the content-type, "Parameters for data connections" should be checked as behavior on the content-type that uses the map.
controlpanel/dexterity-types/{content-type-id}
Sources (Data provenance) should be set on the visualization. To enable this, "EEA Core Metadata" should be checked as behavior on the visualization content-type.
controlpanel/dexterity-types/map_visualization
After this, sources can be added from the visualization edit interface. "Data Provenance" tab => "Add source"
#### 3.0.0 -> requires >= eea.api.dataconnector@7.0
git clone https://github.com/eea/volto-eea-map.git
cd volto-eea-map
make
make start
Go to http://localhost:3000
1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone
``Bash`
docker compose up backend
1. Start Volto frontend
- If you already have a volto project, just update package.json:
`JSON
"addons": [
"@eeacms/volto-eea-map"
],
"dependencies": {
"@eeacms/volto-eea-map": "*"
}
`
- If not, create one:
``
npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --canary --addon @eeacms/volto-eea-map
cd my-volto-project
1. Install new add-ons and restart Volto:
```
yarn
yarn start
1. Go to http://localhost:3000
1. Happy editing!
See RELEASE.md.
See DEVELOP.md.
The Initial Owner of the Original Code is European Environment Agency (EEA).
All Rights Reserved.
See LICENSE.md for details.