generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from eea/develop
(feat): Adapt Embed EEA MAP block to use serialized data
- Loading branch information
Showing
17 changed files
with
134 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,26 +18,30 @@ | |
|
||
# 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/ | ||
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 | ||
# 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. | ||
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. | ||
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](https://raw.githubusercontent.com/eea/volto-eea-map/master/docs/volto-eea-map.gif) | ||
|
||
## Getting started | ||
|
||
### Upgrade | ||
|
||
#### 3.0.0 -> requires >= [email protected] | ||
|
||
### Try volto-eea-map with Docker | ||
|
||
git clone https://github.com/eea/volto-eea-map.git | ||
|
@@ -57,25 +61,25 @@ Go to http://localhost:3000 | |
|
||
1. Start Volto frontend | ||
|
||
* If you already have a volto project, just update `package.json`: | ||
- If you already have a volto project, just update `package.json`: | ||
|
||
```JSON | ||
"addons": [ | ||
"@eeacms/volto-eea-map" | ||
], | ||
```JSON | ||
"addons": [ | ||
"@eeacms/volto-eea-map" | ||
], | ||
|
||
"dependencies": { | ||
"@eeacms/volto-eea-map": "*" | ||
} | ||
``` | ||
"dependencies": { | ||
"@eeacms/volto-eea-map": "*" | ||
} | ||
``` | ||
|
||
* If not, create one: | ||
- 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 | ||
``` | ||
``` | ||
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: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.