Skip to content

Commit

Permalink
webgis: fixed name of Blank layer in permalinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Dancak authored and imincik committed Jun 30, 2014
1 parent dcba40c commit a5e66f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/client/qgis/plugins/webgis/webgisplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def generate_project_metadata(self):

special_base_layers = []
if dialog.blank.isChecked():
special_base_layers.append({'name': 'Blank', 'type': 'BLANK'})
special_base_layers.append({'title': 'Blank', 'name': 'BLANK', 'type': 'BLANK'})
if metadata['projection']['code'].upper() == 'EPSG:3857':
if dialog.osm.isChecked():
special_base_layers.append(dict(OSM_LAYER))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ WebGIS.BaseLayersComboBox = Ext.extend(Ext.form.ComboBox, {
var layer;
if (layer_config.type == 'BLANK') {
layer = new OpenLayers.Layer(
"Blank",
layer_config.name,
{
isBaseLayer: true,
resolutions: layer_config.resolutions,
Expand Down

0 comments on commit a5e66f0

Please sign in to comment.