Skip to content
Permalink
Browse files

Fix proper handling map CRS

  • Loading branch information...
uprel committed Feb 14, 2019
1 parent ae1f953 commit 636f4362bc7c3f37de3ea5287f28405fde00dca5
Showing with 6 additions and 6 deletions.
  1. +0 −4 client/site/js/WebgisInit.js
  2. +6 −2 client/site/js/WebgisInit_functions.js
@@ -108,10 +108,6 @@ Ext.onReady(function () {
mainStatusText = Ext.getCmp('mainStatusText');
rightStatusText = Ext.getCmp('rightStatusText');

//set crs values
rightStatusText.store.loadData(projectData.crsComboStore());
rightStatusText.setValue(projectData.crsComboStore()[0][1]);

//set some status messsages
mainStatusText.setText(mapAppLoadingString[lang]);

@@ -642,8 +642,12 @@ function postLoading() {
});
});

//set EPSG text from OpenLayers
//rightStatusText.setText(authid);
//set crs values
rightStatusText.store.on("load", function() {
rightStatusText.setValue(this.data.itemAt(0).data.description);
});
rightStatusText.store.loadData(projectData.crsComboStore());

Eqwc.currentMapProjection = [projectData.crs, projectData.crs_description, geoExtMap.map.getProjectionObject()];

if (urlParams.startExtent) {

0 comments on commit 636f436

Please sign in to comment.
You can’t perform that action at this time.