@eeacms/volto-arcgis-block 0.1.187 → 0.1.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [0.1.187](https://github.com/eea/volto-arcgis-block/compare/0.1.186...0.1.187) - 28 August 2023
7
+ ### [0.1.189](https://github.com/eea/volto-arcgis-block/compare/0.1.188...0.1.189) - 5 September 2023
8
+
9
+ #### :hammer_and_wrench: Others
8
10
 
9
- #### :house: Internal changes
11
+ - CLMS-2528+CLMS-2454 (Feat): Use Cases Gap Removed and ESRI copyright displayed in Area selection [Urkorue - [`c746f3a`](https://github.com/eea/volto-arcgis-block/commit/c746f3a030fa2c4d895da4a695f793b79fab90f2)]
12
+ ### [0.1.188](https://github.com/eea/volto-arcgis-block/compare/0.1.187...0.1.188) - 31 August 2023
10
13
 
11
- - chore: pin exact version of dependency [Mikel Larreategi - [`c02b323`](https://github.com/eea/volto-arcgis-block/commit/c02b3239422769cd43ef13d0fbbb4fac5c8db783)]
14
+ ### [0.1.187](https://github.com/eea/volto-arcgis-block/compare/0.1.186...0.1.187) - 28 August 2023
12
15
 
13
16
  ### [0.1.186](https://github.com/eea/volto-arcgis-block/compare/0.1.185...0.1.186) - 28 August 2023
14
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.187",
3
+ "version": "0.1.189",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -139,7 +139,7 @@ class AreaWidget extends React.Component {
139
139
 
140
140
  loadNutsService(id, levels) {
141
141
  this.clearWidget();
142
-
142
+ this.props.view.ui.components = ['attribution'];
143
143
  levels.forEach((level) => {
144
144
  var layer = new FeatureLayer({
145
145
  id: id,
@@ -162,6 +162,7 @@ class AreaWidget extends React.Component {
162
162
 
163
163
  loadCountriesService(id) {
164
164
  this.clearWidget();
165
+ this.props.view.ui.components = ['attribution'];
165
166
  var layer = new FeatureLayer({
166
167
  id: id,
167
168
  //url: this.props.urls.outsideEu,
@@ -273,7 +274,6 @@ class AreaWidget extends React.Component {
273
274
  });
274
275
  this.props.map.add(this.nutsGroupLayer);
275
276
  this.props.view.on('click', (event) => {
276
- this.props.view.ui.components = ['attribution'];
277
277
  if (
278
278
  (this.props.mapViewer.activeWidget === this || this.props.download) &&
279
279
  (this.props.mapViewer.activeWidget
@@ -116,11 +116,11 @@ class BookmarkWidget extends React.Component {
116
116
  render() {
117
117
  return (
118
118
  <>
119
- <div ref={this.container} className="legend-container">
119
+ <div ref={this.container} className="bookmark-container">
120
120
  <div tooltip="Bookmark" direction="left" type="widget">
121
121
  <div
122
122
  className={this.menuClass}
123
- id="legend_button"
123
+ id="bookmark_button"
124
124
  aria-label="Bookmark"
125
125
  onClick={this.openMenu.bind(this)}
126
126
  onKeyDown={this.openMenu.bind(this)}
@@ -86,6 +86,10 @@
86
86
  order: 6;
87
87
  }
88
88
 
89
+ .bookmark-container {
90
+ order: 7;
91
+ }
92
+
89
93
  /* Basemap */
90
94
  .basemap-container {
91
95
  display: flex;
@@ -26,10 +26,6 @@
26
26
  margin-bottom: 3rem;
27
27
  }
28
28
 
29
- .use-cases-products-block {
30
- padding-right: 2rem;
31
- }
32
-
33
29
  .use-cases-products-title {
34
30
  margin-bottom: 1rem;
35
31
  font-size: 1rem;
@@ -96,11 +92,8 @@
96
92
  }
97
93
 
98
94
  .use-cases-products-list {
99
- display: flex;
100
95
  width: 100%;
101
96
  height: 25rem;
102
- flex-direction: column;
103
- justify-content: space-between;
104
97
  overflow-y: auto;
105
98
  }
106
99