Skip to content

Commit

Permalink
Update client templates to support mobile layout (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored Sep 30, 2021
1 parent 4fa71cd commit 760252d
Show file tree
Hide file tree
Showing 221 changed files with 1,364 additions and 270 deletions.
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/js/apps/gn-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ document.addEventListener('DOMContentLoaded', function() {

// get the correct map layout
const mapLayout = getConfigProp('mapLayout') || {};
setConfigProp('mapLayout', mapLayout[query.theme] || mapLayout.viewer);
setConfigProp('mapLayout', mapLayout[query.theme] || mapLayout[pluginsConfigKey] || mapLayout.viewer);

// register custom arcgis layer
import('@js/components/' + mapType + '/ArcGisMapServer')
Expand Down
Loading

0 comments on commit 760252d

Please sign in to comment.