Skip to content

Commit

Permalink
Merge pull request #4694 from camptocamp/partial
Browse files Browse the repository at this point in the history
Ude the srtm-partial raster layer in the desktop_alt
  • Loading branch information
sbrunner committed Feb 27, 2019
2 parents 8352069 + 4489d73 commit 3ad2c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions contribs/gmf/apps/desktop/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Controller extends AbstractDesktopController {
/**
* @type {Array<string>}
*/
this.elevationLayers = ['aster', 'srtm', 'srtm-partial'];
this.elevationLayers = ['aster', 'srtm'];

/**
* @type {Object<string, import('gmf/mobile/measure/pointComponent.js').LayerConfig>}
Expand All @@ -74,7 +74,6 @@ class Controller extends AbstractDesktopController {
this.profileLinesconfiguration = {
'aster': {color: '#0000A0'},
'srtm': {color: '#00A000'},
'srtm-partial': {color: '#FF66FF'},
};

/**
Expand Down
4 changes: 2 additions & 2 deletions contribs/gmf/apps/desktop_alt/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Controller extends AbstractDesktopController {
/**
* @type {Array.<string>}
*/
this.elevationLayers = ['srtm'];
this.elevationLayers = ['srtm-partial'];

/**
* @type {Object<string, import('gmf/mobile/measure/pointComponent.js').LayerConfig>}
Expand All @@ -82,7 +82,7 @@ class Controller extends AbstractDesktopController {
* @type {Object<string, import('gmf/profile/component.js').ProfileLineConfiguration>}
*/
this.profileLinesconfiguration = {
'srtm': {}
'srtm-partial': {}
};

/**
Expand Down

0 comments on commit 3ad2c65

Please sign in to comment.