Skip to content

Commit

Permalink
add OpenTopo grayscale map layer from map5.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Dec 8, 2016
1 parent 1dbd9f4 commit 62dc617
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apps/kadviewer/site/config/Map.js
Expand Up @@ -284,6 +284,23 @@ Heron.options.map.layers = [
transitionEffect: 'resize'
}),

new OpenLayers.Layer.TMS("OpenTopo Grijs TMS",
Heron.scratch.urls.MAP5_TMS,
{
layername: 'opentopo_gray/EPSG28992',
type: "jpeg",
isBaseLayer: true,
transparent: false,
bgcolor: "0xffffff",
visibility: false,
singleTile: false,
serverResolutions: Heron.options.serverResolutions.zoom_0_16,
alpha: true,
opacity: 1.0,
attribution: "CC by CA <a href='http://opentopo.nl'>OpenTopo</a> <br/>Data <a href='http://www.openstreetmap.org/copyright'>ODbL</a> <a href='http://openstreetmap.org/'>OpenStreetMap</a> ",
transitionEffect: 'resize'
}),

new OpenLayers.Layer.TMS("Map5 Relief Struct TMS",
Heron.scratch.urls.MAP5_TMS,
{
Expand Down Expand Up @@ -1471,6 +1488,7 @@ Heron.options.layertree.tree = [
text: 'Basis Kaarten', expanded: true, children: [
{nodeType: "gx_layer", layer: "OpenTopo TMS", text: "OpenTopo (Map5.nl)"},
{nodeType: "gx_layer", layer: "OpenSimpleTopo TMS", text: "OpenSimpleTopo (Map5.nl)"},
{nodeType: "gx_layer", layer: "OpenTopo Grijs TMS", text: "OpenTopo Grijs (Map5.nl)"},
{nodeType: "gx_layer", layer: "OpenSimpleTopo Grijs TMS", text: "OpenSimpleTopo Grijs (Map5.nl)"},
{nodeType: "gx_layer", layer: "Map5 Relief Struct TMS", text: "Relief (AHN2/3, Map5.nl)"},
{nodeType: "gx_layer", layer: "Map5 Relief Struct TMS Labels", text: "Relief + Labels (AHN2/3, Map5.nl)"},
Expand Down

0 comments on commit 62dc617

Please sign in to comment.