Skip to content

Commit

Permalink
[Fixes #62] Print Button not showing up anymore with latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Jul 14, 2020
1 parent 5e3ce36 commit d1e6cf7
Show file tree
Hide file tree
Showing 26 changed files with 21 additions and 11 deletions.
4 changes: 2 additions & 2 deletions geonode_mapstore_client/client/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -e

npx rimraf package-lock.json npm-shrinkwrap.json node_modules
# npx rimraf package-lock.json npm-shrinkwrap.json node_modules
npm update
npm install
npm run compile
npm run lint
npm run lint
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ var MS2_BASE_PLUGINS = {
{
"name": "Print",
"cfg": {
"disablePluginIf": "{state('mapType') === 'cesium'}",
"useFixedScales": true,
"mapWidth": 256
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ var MS2_PLUGINS = {
{
"name": "Print",
"cfg": {
"disablePluginIf": "{state('mapType') === 'cesium'}",
"useFixedScales": true,
"mapPreviewOptions": {
"enableScalebox": true,
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

12 changes: 6 additions & 6 deletions geonode_mapstore_client/static/mapstore/dist/ms2-geonode-api.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
translations: '',
useAuthenticationRules: true,
loadAfterTheme: true,
monitorState: [
{"name": "router", "path": "router.location.pathname"},
{"name": "browser", "path": "browser"},
{"name": "geostorymode", "path": "geostory.mode"},
{"name": "featuregridmode", "path": "featuregrid.mode"},
{"name": "userrole", "path": "security.user.role"},
{"name": "printEnabled", "path": "print.capabilities"}
],
projectionDefs: [{
"code": "EPSG:3003",
"def": "+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl+towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +units=m +no_defs",
Expand Down

0 comments on commit d1e6cf7

Please sign in to comment.