@eeacms/volto-arcgis-block 0.1.198 → 0.1.200
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,10 +4,22 @@ 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.200](https://github.com/eea/volto-arcgis-block/compare/0.1.199...0.1.200) - 20 September 2023
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Update package.json [Urkorue - [`2e4cbe1`](https://github.com/eea/volto-arcgis-block/commit/2e4cbe1012b627d3f63f64f5ba5ba0a0f83f4e65)]
|
|
12
|
+
- CLMS-2486+CLMS-2603 (Bug): Use Cases Card Document Links fix + Basemap Copyright fix [Urkorue - [`1f54aa3`](https://github.com/eea/volto-arcgis-block/commit/1f54aa366e07b701f177fcf44e596a5b2b0280d9)]
|
|
13
|
+
### [0.1.199](https://github.com/eea/volto-arcgis-block/compare/0.1.198...0.1.199) - 18 September 2023
|
|
14
|
+
|
|
15
|
+
#### :hammer_and_wrench: Others
|
|
16
|
+
|
|
17
|
+
- Update package.json [Urkorue - [`600bf5b`](https://github.com/eea/volto-arcgis-block/commit/600bf5bccea2f2ca64dc0575f0895cf1b9a7084a)]
|
|
7
18
|
### [0.1.198](https://github.com/eea/volto-arcgis-block/compare/0.1.197...0.1.198) - 18 September 2023
|
|
8
19
|
|
|
9
20
|
#### :hammer_and_wrench: Others
|
|
10
21
|
|
|
22
|
+
- Merge pull request #565 from eea/develop [Unai Bolivar - [`9ca8b96`](https://github.com/eea/volto-arcgis-block/commit/9ca8b965f6a61d20b63ed2e65dd22edf646ec9de)]
|
|
11
23
|
- ran linting scripts [ujbolivar - [`8c1f925`](https://github.com/eea/volto-arcgis-block/commit/8c1f925ca7712da160036c9d85e51f1a94080eca)]
|
|
12
24
|
- Bug: Fixed breaking custom map viewer bug [ujbolivar - [`7867924`](https://github.com/eea/volto-arcgis-block/commit/7867924f412266e624ee567ad47cce29b049cc83)]
|
|
13
25
|
### [0.1.197](https://github.com/eea/volto-arcgis-block/compare/0.1.196...0.1.197) - 14 September 2023
|
package/package.json
CHANGED
|
@@ -139,7 +139,8 @@ class AreaWidget extends React.Component {
|
|
|
139
139
|
|
|
140
140
|
loadNutsService(id, levels) {
|
|
141
141
|
this.clearWidget();
|
|
142
|
-
|
|
142
|
+
document.querySelector('.esri-attribution__powered-by').style.display =
|
|
143
|
+
'flex';
|
|
143
144
|
levels.forEach((level) => {
|
|
144
145
|
var layer = new FeatureLayer({
|
|
145
146
|
id: id,
|
|
@@ -162,7 +163,8 @@ class AreaWidget extends React.Component {
|
|
|
162
163
|
|
|
163
164
|
loadCountriesService(id) {
|
|
164
165
|
this.clearWidget();
|
|
165
|
-
|
|
166
|
+
document.querySelector('.esri-attribution__powered-by').style.display =
|
|
167
|
+
'flex';
|
|
166
168
|
var layer = new FeatureLayer({
|
|
167
169
|
id: id,
|
|
168
170
|
//url: this.props.urls.outsideEu,
|
|
@@ -260,7 +262,8 @@ class AreaWidget extends React.Component {
|
|
|
260
262
|
document.querySelector('.drawRectanglePopup-block').style.display =
|
|
261
263
|
'block';
|
|
262
264
|
}
|
|
263
|
-
|
|
265
|
+
document.querySelector('.esri-attribution__powered-by').style.display =
|
|
266
|
+
'none';
|
|
264
267
|
}
|
|
265
268
|
|
|
266
269
|
/**
|
|
@@ -170,7 +170,8 @@ class BasemapWidget extends React.Component {
|
|
|
170
170
|
thumbnailUrl: ${url}.replace('{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}', '/${proj}/0/0/0'),
|
|
171
171
|
baseLayers: [
|
|
172
172
|
new WebTileLayer({
|
|
173
|
-
urlTemplate: ${url}.replace('{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}', '/${proj}/{z}/{x}/{y}')
|
|
173
|
+
urlTemplate: ${url}.replace('{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}', '/${proj}/{z}/{x}/{y}'),
|
|
174
|
+
copyright: '© <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> (and) contributors, CC-BY-SA',
|
|
174
175
|
})
|
|
175
176
|
]
|
|
176
177
|
});
|
|
@@ -195,6 +196,8 @@ class BasemapWidget extends React.Component {
|
|
|
195
196
|
new WebTileLayer({
|
|
196
197
|
urlTemplate:
|
|
197
198
|
'https://gisco-services.ec.europa.eu/maps/tiles/OSMPositronComposite/EPSG3857/{z}/{x}/{y}.png',
|
|
199
|
+
copyright:
|
|
200
|
+
'© <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> (and) contributors, CC-BY-SA',
|
|
198
201
|
}),
|
|
199
202
|
],
|
|
200
203
|
// referenceLayers: [
|
|
@@ -210,6 +213,8 @@ class BasemapWidget extends React.Component {
|
|
|
210
213
|
new WebTileLayer({
|
|
211
214
|
urlTemplate:
|
|
212
215
|
'https://gisco-services.ec.europa.eu/maps/tiles/OSMBlossomComposite/EPSG3857/{z}/{x}/{y}.png',
|
|
216
|
+
copyright:
|
|
217
|
+
'© <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> (and) contributors, CC-BY-SA',
|
|
213
218
|
}),
|
|
214
219
|
],
|
|
215
220
|
// referenceLayers: [
|
|
@@ -225,6 +230,8 @@ class BasemapWidget extends React.Component {
|
|
|
225
230
|
new WebTileLayer({
|
|
226
231
|
urlTemplate:
|
|
227
232
|
'https://gisco-services.ec.europa.eu/maps/tiles/CountriesWorld/EPSG3857/{z}/{x}/{y}.png',
|
|
233
|
+
copyright:
|
|
234
|
+
'© <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> (and) contributors, CC-BY-SA',
|
|
228
235
|
}),
|
|
229
236
|
],
|
|
230
237
|
// referenceLayers: [
|
|
@@ -243,6 +250,8 @@ class BasemapWidget extends React.Component {
|
|
|
243
250
|
});
|
|
244
251
|
}
|
|
245
252
|
this.props.view.ui.add(this.container.current, 'top-right');
|
|
253
|
+
document.querySelector('.esri-attribution__powered-by').style.display =
|
|
254
|
+
'none';
|
|
246
255
|
}
|
|
247
256
|
/**
|
|
248
257
|
* This method renders the component
|
|
@@ -143,6 +143,8 @@ class MapViewer extends React.Component {
|
|
|
143
143
|
new WebTileLayer({
|
|
144
144
|
urlTemplate:
|
|
145
145
|
'https://gisco-services.ec.europa.eu/maps/tiles/OSMPositronComposite/EPSG3857/{z}/{x}/{y}.png',
|
|
146
|
+
copyright:
|
|
147
|
+
'© <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> (and) contributors, CC-BY-SA',
|
|
146
148
|
}),
|
|
147
149
|
],
|
|
148
150
|
// referenceLayers: [
|
|
@@ -232,7 +234,6 @@ class MapViewer extends React.Component {
|
|
|
232
234
|
//we invoke the setState method, that changes the state and forces a
|
|
233
235
|
//react component to render itself again
|
|
234
236
|
//this.setState({});
|
|
235
|
-
this.view.ui._removeComponents(['attribution']);
|
|
236
237
|
});
|
|
237
238
|
}
|
|
238
239
|
|
|
@@ -28,6 +28,10 @@ class InfoWidget extends React.Component {
|
|
|
28
28
|
* @returns lateralMenu DOM
|
|
29
29
|
*/
|
|
30
30
|
showUseCase(UseCase) {
|
|
31
|
+
UseCase.Use_case_summary = UseCase.Use_case_summary.replace(
|
|
32
|
+
'.pdf"',
|
|
33
|
+
'.pdf/@@download/file"',
|
|
34
|
+
);
|
|
31
35
|
let responsibleOrganizationOrPerson = UseCase.Responsible_organisation
|
|
32
36
|
? UseCase.Responsible_organisation
|
|
33
37
|
: UseCase.Contact_person_name_
|