Skip to content

Commit

Permalink
Merge pull request #659 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ujbolivar committed Nov 22, 2023
2 parents 2ae5725 + 4b1fbe3 commit 29583b3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [0.1.237](https://github.com/eea/volto-arcgis-block/compare/0.1.236...0.1.237) - 22 November 2023

#### :hammer_and_wrench: Others

- CLMS-2273 (chore): Added descriptive label under the title for filterable hotspot datasets in the menu widget [ujbolivar - [`349ac11`](https://github.com/eea/volto-arcgis-block/commit/349ac114d654419c9bbbb9fb289292e2acedc9c0)]
- CLMS-2317 (chore): Redirected fetch requests for hotspot filter data to our backend [ujbolivar - [`e6274f4`](https://github.com/eea/volto-arcgis-block/commit/e6274f475892b0743c4c7d880daf770a2d1c9cf4)]
### [0.1.236](https://github.com/eea/volto-arcgis-block/compare/0.1.235...0.1.236) - 20 November 2023

#### :hammer_and_wrench: Others
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-arcgis-block",
"version": "0.1.236",
"version": "0.1.237",
"description": "volto-arcgis-block: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: CodeSyntax",
Expand Down
10 changes: 6 additions & 4 deletions src/components/MapViewer/MenuWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1250,11 +1250,13 @@ class MenuWidget extends React.Component {
Zoom in to view on map
</div>
</div>
) : dataset.productId ===
'd764e020485a402598551fa461bf1db2' ? (
<div className="hotspot-filter-message-container">
) : dataset.DatasetId ===
'9827d711d3e148aabccc76dd501a4b86' ||
dataset.DatasetId ===
'e27dbc8330084b58bb5e282231fca74d' ? (
<div className="zoom-in-message-container">
<span>{dataset.DatasetTitle}</span>
<div className="hotspot-filter-message hotspot-filter-message-dataset">
<div className="zoom-in-message">
Use the filter to visualize a KLC area
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions src/components/MapViewer/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,13 @@ const config = {
'https://geospatial.jrc.ec.europa.eu/geoserver/hotspots/wms?request=GetLegendGraphic&version=1.0.0&format=image/png&layer=all_lcc_b_pol',
cop_klc:
'https://geospatial.jrc.ec.europa.eu/geoserver/hotspots/wms?request=GetLegendGraphic&version=1.0.0&format=image/png&layer=cop_klc',
klc_bbox: 'https://land.copernicus.eu/global/hsm/php/klc_bbox.php',
klc_bbox:
'https://land.copernicus.eu/en/products/lclcc-hot-spots/json-files/klc_bbox.php/@@download/file',
legendLinkUrl:
'https://geospatial.jrc.ec.europa.eu/geoserver/hotspots/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=',
serviceUrl: 'https://geospatial.jrc.ec.europa.eu/geoserver/hotspots/wms',
all_geo_klc: 'https://land.copernicus.eu/global/hsm/all_geo_klc_json',
all_geo_klc:
'https://land.copernicus.eu/en/products/lclcc-hot-spots/json-files/all_geo_klc.json/@@download/file',
positronCompositeThumbnail:
'https://gisco-services.ec.europa.eu/maps/wmts/OSMPositronComposite/EPSG3857/0/0/0.png',
positronCompositeTemplate:
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapViewer/css/ArcgisMap.css
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ input[type='range']::-ms-track {

.zoom-in-message,
.hotspot-filter-message {
padding: 0.1rem 0.6rem 0.1rem 0.6rem;
padding: 0.3rem 0.6rem 0.1rem 0.6rem;
margin-top: 0.2rem;
background: #a0b128;
border-radius: 10px;
Expand Down

0 comments on commit 29583b3

Please sign in to comment.