Skip to content

Commit

Permalink
Merge pull request #21 from kartoza/2.0.16
Browse files Browse the repository at this point in the history
Fix extent in groundwater map
  • Loading branch information
dimasciput authored Jun 16, 2022
2 parents 2424625 + 0a2bb1d commit 49658ca
Show file tree
Hide file tree
Showing 66 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.15-kartoza
2.0.16-kartoza
4 changes: 0 additions & 4 deletions geonode_mapstore_client/client/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ window.initMapstore2Api = function(config, resolve) {
if (currentUrl.includes('groundwater-well') || currentUrl.includes('well-and-monitoring-data') || currentUrl.includes('view/ggmn')) {
axios.get(uuidUrl, {}).then((response) => {
setConfigProp('viewparams', `uuid:${response.data['uuid']}`);
if (response.data['extent']) {
setConfigProp('groundwater_extent', response.data['extent']);
ms2_config.map.maxExtent = ol.proj.transformExtent(response.data.extent, 'EPSG:4326', 'EPSG:3857');
}
const layers = ms2_config.map.layers || [];
for (let _layer of layers) {
if (!_layer.id || !_layer.id.toLowerCase().includes('groundwater_well')) {
Expand Down
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geonode-mapstore-client",
"version": "2.0.15-kartoza",
"version": "2.0.16-kartoza",
"description": "MapStore 2 Api bundle specific to geonode framework",
"main": "api.js",
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
geonode-mapstore-client-v2.0.15-kartoza-256056153c9248b3fc001fd4890d8f6ddfed892c
geonode-mapstore-client-v2.0.16-kartoza-461721642c6a1579a1ae9ee3d710056178d17a89
4 changes: 2 additions & 2 deletions geonode_mapstore_client/static/mapstore/dist/gn-geostory.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions geonode_mapstore_client/static/mapstore/dist/gn-home.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion geonode_mapstore_client/static/mapstore/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
geonode-mapstore-client-v2.0.15-kartoza-256056153c9248b3fc001fd4890d8f6ddfed892c
geonode-mapstore-client-v2.0.16-kartoza-461721642c6a1579a1ae9ee3d710056178d17a89

0 comments on commit 49658ca

Please sign in to comment.