Skip to content
Permalink
Browse files

Export format specific commit

  • Loading branch information...
uprel committed Aug 13, 2019
1 parent fd09423 commit 8088aa957a83c9ea42254b97c4be723f2727d7f0
Showing with 5 additions and 1 deletion.
  1. +5 −1 client/site/js/LayerActions.js
@@ -236,9 +236,13 @@ function zoomToLayerExtent(item) {
function exportHandler(item) {
var myLayerName = layerTree.getSelectionModel().getSelectedNode().text;
var layerId = wmsLoader.layerTitleNameMapping[myLayerName];
var exportLayer = Eqwc.common.getIdentifyLayerName(layerId);
var exportLayer = myLayerName;
var myFormat = item.container.menuItemId;

if(myFormat != 'KOF') {
exportLayer = Eqwc.common.getIdentifyLayerName(layerId);
}

var exportExtent = item.ownerCt.getComponent('currentExtent') ? item.ownerCt.getComponent('currentExtent').checked : false;
var useMapCrs = item.ownerCt.getComponent('useMapCRS');
var crs = (useMapCrs && useMapCrs.checked) ? Eqwc.currentMapProjection[0] : projectData.layers[layerId].crs;

0 comments on commit 8088aa9

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