@eeacms/volto-eea-map

4.0.0 • Public • Published

volto-eea-map

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto add-on

Configuration

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/

Enable data queries auto-import

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}

Enable Sources

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"

EEA MAP

Getting started

Upgrade

3.0.0 -> requires >= eea.api.dataconnector@7.0

Try volto-eea-map with Docker

  git clone https://github.com/eea/volto-eea-map.git
  cd volto-eea-map
  make
  make start

Go to http://localhost:3000

Add volto-eea-map to your Volto project

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.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
    
  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

Package Sidebar

Install

npm i @eeacms/volto-eea-map

Weekly Downloads

214

Version

4.0.0

License

MIT

Unpacked Size

143 kB

Total Files

49

Last publish

Collaborators

  • nileshgulia1
  • valentinab25
  • demarant
  • avoinea
  • tiberiuichim
  • zotya
  • alecghica
  • eea-jenkins
  • razvan.miu
  • ichimdav