Skip to content
Permalink
Browse files

Fixing order of extra layers for print

  • Loading branch information
uprel committed Nov 24, 2019
1 parent f100b88 commit 564857f907acae8cf5339754625cf4628bd2dc92
Showing with 2 additions and 2 deletions.
  1. +2 −2 client/site/js/QGISExtensions.js
@@ -443,8 +443,8 @@ Ext.extend(QGIS.PrintProvider, GeoExt.data.PrintProvider, {
var baseDefinition = '';
if(extra.length>0) {
var extraNames = extra.map(function(item){return item.name;});
extraDefinition = extra.map(function(item){return item.definition;}).reverse();
layers.unshift(extraNames.join(','));
extraDefinition = extra.map(function(item){return item.definition;});
layers.unshift(extraNames.reverse().join(','));
}

//add currently visible base layer for printing if exists in projects

0 comments on commit 564857f

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