/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
Data CC-By-SA OpenStreetMap ",
transitionEffect: 'resize'}],
/*
* Basemap openStreetMap TileCache+Mapnik
*/
osm: ["OpenLayers.Layer.WMS",
"OpenStreetMap",
Heron.scratch.urls.TILECACHE,
{layers: "osm", format: "image/png", transparent: false},
{singleTile: false, buffer: 0, isBaseLayer: true, visibility: false, hideInLegend: true,
attribution: "Data ODbL by OpenStreetMap", transitionEffect: 'resize'}
],
/*
* Basemap openStreetMap TileCache+Mapnik NOT YET
osm: ["OpenLayers.Layer.TMS",
"OpenStreetMap",
Heron.scratch.urls.TILECACHE,
{layername: 'osm',
type: "png",
isBaseLayer: true,
transparent: true,
bgcolor: "0xffffff",
visibility: false,
singleTile: false,
alpha:true, opacity: 1.0,
attribution: "Data CC-By-SA by OpenStreetMap",
transitionEffect: 'resize'}
],
*/
/*
* Combinatie top250/50/25
* http://kademo.nl/gwc/service/tms/1.0.0/top_raster@nlGridSetPDOK@png
*/
topraster: ["OpenLayers.Layer.TMS",
"TopRaster",
Heron.scratch.urls.GWC_TMS,
{layername: 'top_raster@nlGridSetPDOK@png',
type: "png",
isBaseLayer: true,
transparent: true,
bgcolor: "0xffffff",
visibility: false,
singleTile: false,
alpha: true, opacity: 1.0,
transitionEffect: 'resize'}
],
/*
* Top10 NL rendering Geodan
*/
top10nlgeodan: ["OpenLayers.Layer.TMS",
"Top10NL (Geodan)",
Heron.scratch.urls.GWC_TMS,
{layername: 'top10_geodan@nlGridSetPDOK@png',
type: "png",
isBaseLayer: true,
transparent: true,
bgcolor: "0xffffff",
visibility: false,
singleTile: false,
alpha: true, opacity: 1.0,
transitionEffect: 'resize'}
],
/*
* Areal images PDOK.
*/
luchtfotopdok: ["OpenLayers.Layer.TMS",
"Luchtfoto (PDOK)",
'http://geodata1.nationaalgeoregister.nl/luchtfoto/tms/',
{layername: 'luchtfoto_EPSG28992', type: 'jpeg', serverResolutions: Heron.options.serverResolutions.zoom_0_13,
isBaseLayer: true, visibility: false}
],
blanco: ["OpenLayers.Layer.Image",
"Blanco",
Ext.BLANK_IMAGE_URL,
OpenLayers.Bounds.fromString(Heron.options.map.settings.maxExtent),
new OpenLayers.Size(10, 10),
{resolutions: Heron.options.map.settings.resolutions, isBaseLayer: true, visibility: false, displayInLayerSwitcher: true, transitionEffect: 'resize'}
],
/** OVERLAYS **/
/*
* PDOK: BAG Adressen
*/
bag_adressen: ["OpenLayers.Layer.WMS",
"BAG - Adressen",
Heron.PDOK.urls.ADRESSEN,
{layers: "inspireadressen", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'inspireadressen',
featureNS: 'http://inspireadressen.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000
}
}
}
],
/*
* PDOK: BagViewer Lagen
*/
bag_panden: ["OpenLayers.Layer.WMS",
"BAG - Panden",
Heron.PDOK.urls.BAGVIEWER,
{layers: "pand", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
disallowPrinting: false,
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'pand',
featureNS: 'http://bagviewer.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000
}
}
}
],
bag_panden_selected: ["OpenLayers.Layer.WMS",
"BAG - Panden Selected",
Heron.PDOK.urls.BAGVIEWER,
{layers: "pand", format: "image/png", transparent: true, styles: 'bagviewer_pand_selected'},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'pand',
featureNS: 'http://bagviewer.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000
}
}
}
],
bag_panden_wfs: ["OpenLayers.Layer.Vector", "BAG - Panden (WFS)", {
maxResolution: 0.84,
strategies: [new OpenLayers.Strategy.BBOX()],
visibility: false,
styleMap: new OpenLayers.StyleMap(
{'strokeColor': '#222222', 'fillColor': '#eeeeee', graphicZIndex: 1, fillOpacity: 0.8}),
protocol: new OpenLayers.Protocol.WFS({
url: Heron.PDOK.urls.BAGVIEWER,
featureType: "pand",
featureNS: "http://bagviewer.geonovum.nl",
geometryName: 'geometrie'
})
}],
/*
* PDOK: BagViewer Lagen
*/
bag_verblijfsobjecten: ["OpenLayers.Layer.WMS",
"BAG - Verblijfsobjecten",
Heron.PDOK.urls.BAGVIEWER,
{layers: "verblijfsobject", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'verblijfsobject',
featureNS: 'http://bagviewer.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000
}
}
}
],
/*
* PDOK: NWB Wegen
*/
nwb_wegen: ["OpenLayers.Layer.WMS",
"NWB - Wegen",
Heron.PDOK.urls.NWBWEGEN,
{layers: "wegvakken", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'nwbwegen',
featureNS: 'http://nwbwegen.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 10000000,
maxQueryLength: 10000
}
}
}
],
/*
* PDOK: Lange Afstands Wandelpaden
*/
lawroutes: ["OpenLayers.Layer.WMS",
"Lange Afstands Wandelroutes",
Heron.PDOK.urls.LAWROUTES,
{layers: "lawroutes", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* PDOK: Streekpaden
*/
streekpaden: ["OpenLayers.Layer.WMS",
"Streekpaden",
Heron.PDOK.urls.STREEKPADEN,
{layers: "streekpaden", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* PDOK: Landelijke Fietsroutes
*/
lfroutes: ["OpenLayers.Layer.WMS",
"Landelijke Fietsroutes",
Heron.PDOK.urls.LFROUTES,
{layers: "lfroutes", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* PDOK: RD Info Punten
*/
rdinfopunten: ["OpenLayers.Layer.WMS",
"RD Info - Punten",
Heron.PDOK.urls.RDINFO,
{layers: "punten", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'punten',
featureNS: 'http://rdinfo.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 750000000,
maxQueryLength: 500000
}
}
}
],
/*
* PDOK: RD Info Stations
*/
rdinfostations: ["OpenLayers.Layer.WMS",
"RD Info - Stations",
Heron.PDOK.urls.RDINFO,
{layers: "stations", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'stations',
featureNS: 'http://rdinfo.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 750000000,
maxQueryLength: 500000
}
}
}
],
/*
* PDOK: Natura 2000 (TMS + WMTS for testing)
*/
natura2000: ["OpenLayers.Layer.WMS",
"Natura 2000",
Heron.PDOK.urls.NATURA2000,
{layers: "natura2000", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'natura2000',
featureNS: 'http://natura2000.geonovum.nl',
downloadFormats: Heron.options.wfs.downloadFormats
}
}
}
],
natura2000wmts: new OpenLayers.Layer.WMTS({
name: "Natura 2000 (WMTS)",
url: Heron.PDOK.urls.NATURA2000WMTS,
layer: "natura2000",
matrixSet: "EPSG:28992",
matrixIds: Heron.PDOK.matrixIds,
tileOrigin: new OpenLayers.LonLat(-285401.920, 903401.920),
format: "image/png",
visibility: false,
style: "_null",
opacity: 0.7,
isBaseLayer: false
}),
/*
* Historic overlays
*/
bonne1865: ["OpenLayers.Layer.WMS","Historische Topo Kaart (1865)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'BONNE_1865', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
bonne1900: ["OpenLayers.Layer.WMS","Historische Topo Kaart (1900)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'BONNE_1900', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
bonne1915: ["OpenLayers.Layer.WMS","Historische Topo Kaart (1915)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'BONNE_1915', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
bonne1925: ["OpenLayers.Layer.WMS","Historische Topo Kaart (1925)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'BONNE_1925', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
bonne1949: ["OpenLayers.Layer.WMS","Historische Topo Kaart (1949)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'BONNE_1949', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
tmk1850: ["OpenLayers.Layer.WMS","Militaire Kaart (1850)",
Heron.scratch.urls.ALTERRA_WMS,
{'layers': 'TMK_KLEUR_1850', 'format': 'image/png'},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
/*
* AHN - Algemeen Hoogtebestand NL - DEM colour relief Netherlands
*/
ahndem2: ["OpenLayers.Layer.WMS",
"NL Height Map",
Heron.scratch.urls.GS2_OWS,
{layers: "ahn-nl-dem2", format: "image/jpeg"},
{isBaseLayer: false, singleTile: true, visibility: false, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* Hockeyclubs
*/
hockeyclubs: ["OpenLayers.Layer.WMS",
"Hockeyclubs",
Heron.scratch.urls.GS2_OWS,
{layers: "hockeyclubs", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, opacity: 0.7,
featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize',
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'kad',
featureNS: 'http://innovatie.kadaster.nl',
downloadFormats: Heron.options.wfs.downloadFormats
}
}}
],
/*
* RD info
*/
rdstations: ["OpenLayers.Layer.WMS",
"RD stations",
Heron.scratch.urls.GS2_OWS,
{layers: "rdinfo_rdstations", format: "image/gif", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* Ecologische Hoofdstructuur (EHS)
*/
ehs: ["OpenLayers.Layer.WMS","Ecologische Hoofdstructuur",
Heron.scratch.urls.GS2_OWS,
{'layers': 'ehs_alles', 'format': 'image/png', transparent: true},
{'isBaseLayer': false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, hideInLegend: true, transitionEffect: 'resize'}
],
/** Natura 2000 (PDOK) */
natura2000tms: ["OpenLayers.Layer.TMS", "Natura 2000 (TMS)",
Heron.PDOK.urls.PDOKTMS,
{layername: 'natura2000', type: 'png', isBaseLayer: false, transparent: true, bgcolor: "0xffffff", visibility: false, singleTile: false, transitionEffect: 'resize'}],
/*
* KNMI Radar
*/
knmi_radar_bw: ["OpenLayers.Layer.WMS","KNMI Radar",
Heron.scratch.urls.KNMI_WMS_RADAR,
{'layers': 'RADNL_OPER_R___25PCPRR_L3_KNMI', 'format': 'image/png', transparent: true},
{'isBaseLayer': false, singleTile: true, visibility: false, transitionEffect: 'resize'}
],
knmi_radar_color: ["OpenLayers.Layer.WMS","KNMI Radar Color",
Heron.scratch.urls.KNMI_WMS_RADAR,
{'layers': 'RADNL_OPER_R___25PCPRR_L3_COLOR', 'format': 'image/png', transparent: true},
{'isBaseLayer': false, singleTile: true, visibility: false, transitionEffect: 'resize'}
],
// TODO
// Add: http://geoservices.knmi.nl/cgi-bin/INTER_OPER_R___OBSERV__L3.cgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
// (daily precipitation)
/* ------------------------------
* LKI Kadastrale Vlakken
* ------------------------------ */
lki_vlakken: ["OpenLayers.Layer.WMS","Kadastrale Vlakken",
Heron.scratch.urls.GS2_OWS,
{layers: "lki_vlakken", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize', maxResolution: 6.72,
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'kad',
featureNS: 'http://innovatie.kadaster.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000
}
}
}
],
/* bag_panden_kademo: ["OpenLayers.Layer.WMS","BAG Panden Kademo",
Heron.scratch.urls.GS2_OWS,
{layers: "bag:pand", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize', maxResolution: 6.72,
metadata: {
wfs: {
protocol: 'fromWMSLayer',
featurePrefix: 'bag',
featureNS: 'http://www.openbag.nl',
downloadFormats: Heron.options.wfs.downloadFormats,
maxQueryArea: 1000000,
maxQueryLength: 10000,
noBBOX: false
}
}
}
], */
/*
* Cadastral Parcels The Netherlands - 2009.
*/
lki_vlakken_tiled: ["OpenLayers.Layer.TMS",
"Kadastrale Vlakken (tiled)",
Heron.scratch.urls.GWC_TMS,
{layername: 'kadkaart_vlakken@nlGridSetPDOK@png',
type: "png",
isBaseLayer: false,
transparent: true,
visibility: false}
],
lki_gebouwen: ["OpenLayers.Layer.WMS","Kadastrale Bebouwingen",
Heron.scratch.urls.GS2_OWS,
{layers: "lki_gebouwen", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* Buildings - The Netherlands - 2009.
*/
lki_gebouwen_tiled: ["OpenLayers.Layer.TMS",
"Kadastrale Gebouwen (tiled)",
Heron.scratch.urls.GWC_TMS,
{layername: 'kadkaart_gebouwen@nlGridSetPDOK@png',
type: "png",
isBaseLayer: false,
transparent: true,
visibility: false}
],
lki_teksten: ["OpenLayers.Layer.WMS","Kadastrale Teksten",
Heron.scratch.urls.GS2_OWS,
{layers: "lki_teksten", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", hideInLegend: true, transitionEffect: 'resize'}
],
lki_perceelnrs: ["OpenLayers.Layer.WMS","Kadastrale Perceelnummers",
Heron.scratch.urls.GS2_OWS,
{layers: "lki_vlakken", format: "image/png", styles: "lki_perceelnrs", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize'}
],
/*
* Cadastral Parcel numbers - The Netherlands - 2009.
*/
lki_perceelnrs_tiled: ["OpenLayers.Layer.TMS",
"Perceel Nummers (tiled)",
Heron.scratch.urls.GWC_TMS,
{layername: 'kadkaart_perceelnrs@nlGridSetPDOK@png',
type: "png",
isBaseLayer: false,
transparent: true,
visibility: false}
],
kadkaart: ["OpenLayers.Layer.WMS","Kadastrale Kaart Alles",
Heron.scratch.urls.GS2_OWS,
{layers: "kadkaart", format: "image/png", transparent: true},
{isBaseLayer: false, singleTile: true, visibility: false, alpha: true, opacity: 0.7, transitionEffect: 'resize'}
],
kadkaart_tiled: ["OpenLayers.Layer.TMS",
"Kadastrale Kaart Alles (tiled)",
Heron.scratch.urls.GWC_TMS,
{layername: 'kadkaart_alles@nlGridSetPDOK@png',
type: "png",
isBaseLayer: false,
transparent: true,
bgcolor: "0xffffff",
visibility: false,
singleTile: false,
alpha: true, opacity: 0.7,
transitionEffect: 'resize'
}
],
/*
* TNO
* Grondwaterstanden
* Lithologie (boorgaten)
*/
tno_grondwaterstanden: [
"OpenLayers.Layer.WMS",
"TNO Grondwaterputten",
Heron.scratch.urls.TNO_GRONDWATERSTANDEN,
{
layers: 'Grondwaterputten',
format: "image/png",
transparent: true
},
{
isBaseLayer: false,
singleTile: true,
visibility: false,
hideInLegend: true,
featureInfoFormat: 'application/vnd.ogc.wms_xml',
transitionEffect: 'resize',
metadata: {
wfs: {
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
url: "http://dinolab52.dinonet.nl/deegree/services/wfs-dino?",
srsName: "EPSG:28992",
featureType: "GroundwaterWells",
featureNS: "http://www.tno.nl/inspire/groundwaterwells/0.9",
outputFormat: 'GML2',
geometryName: 'geometry'
}
),
maxQueryArea: 250000000,
maxQueryLength: 500000
}
}
}
],
tno_grondboorgaten: ["OpenLayers.Layer.WMS",
"TNO Boorgaten",
Heron.scratch.urls.TNO_BOORGATEN,
{
layers: 'Boringen',
format: "image/png",
transparent: true,
info_format: 'application/vnd.ogc.wms_xml'
},
{
isBaseLayer: false,
singleTile: true,
hideInLegend: true,
visibility: false,
transitionEffect: 'resize',
metadata: {
wfs: {
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
url: "http://dinolab52.dinonet.nl/deegree/services/wfs-dino?",
srsName: "EPSG:28992",
featureType: "Boreholes",
featureNS: "http://www.tno.nl/inspire/boreholes/0.9",
outputFormat: 'GML2',
geometryName: 'geometry'
}),
maxQueryArea: 250000000,
maxQueryLength: 500000
}
}
}
]
};
/** Collect layers from above, these are actually added to the map.
* One could also define the layer objects here immediately.
* */
Heron.options.map.layers = [
/*
* ==================================
* BaseLayers
* ==================================
*/
// Heron.scratch.layermap.pdok_natura2000_wmts,
Heron.scratch.layermap.openbasiskaart_osm,
Heron.scratch.layermap.pdok_brtachtergrondkaart,
Heron.scratch.layermap.osm,
Heron.scratch.layermap.topraster,
Heron.scratch.layermap.top10nlgeodan,
Heron.scratch.layermap.luchtfotopdok,
Heron.scratch.layermap.blanco,
/*
* ==================================
* OVERLAYS
* ==================================
*/
/** BAG PDOK. */
Heron.scratch.layermap.bag_adressen,
Heron.scratch.layermap.bag_panden,
Heron.scratch.layermap.bag_panden_selected,
Heron.scratch.layermap.bag_panden_wfs,
Heron.scratch.layermap.bag_verblijfsobjecten,
Heron.scratch.layermap.nwb_wegen,
Heron.scratch.layermap.lawroutes,
Heron.scratch.layermap.streekpaden,
Heron.scratch.layermap.lfroutes,
Heron.scratch.layermap.knmi_radar_color,
Heron.scratch.layermap.knmi_radar_bw,
/* ------------------------------
* DEM NL Colour Relief
* ------------------------------ */
Heron.scratch.layermap.ahndem2,
/* ------------------------------
* Hockeyclubs
* ------------------------------ */
Heron.scratch.layermap.hockeyclubs,
/* ------------------------------
* RD info
* ------------------------------ */
Heron.scratch.layermap.rdinfopunten,
Heron.scratch.layermap.rdinfostations,
/* ------------------------------
* Ecologische Hoofdstructuur (EHS)
* ------------------------------ */
// Heron.scratch.layermap.ehs,
Heron.scratch.layermap.natura2000,
Heron.scratch.layermap.natura2000tms,
Heron.scratch.layermap.natura2000wmts,
/* ------------------------------
* LKI Kadastrale Vlakken
* ------------------------------ */
Heron.scratch.layermap.lki_vlakken,
Heron.scratch.layermap.lki_gebouwen_tiled,
Heron.scratch.layermap.kadkaart_tiled,
/** TNO **/
Heron.scratch.layermap.tno_grondwaterstanden,
Heron.scratch.layermap.tno_grondboorgaten
];
// See ToolbarBuilder.js : each string item points to a definition
// in Heron.ToolbarBuilder.defs. Extra options and even an item create function
// can be passed here as well.
Heron.options.map.toolbar = [
/* {type: "scale"}, Leave out: see http://code.google.com/p/geoext-viewer/issues/detail?id=116 */
{type: "featureinfo", options: {
popupWindow: {
width: 360,
height: 200,
featureInfoPanel: {
showTopToolbar: true,
// Should column-names be capitalized? Default true.
columnCapitalize: true,
hideColumns: ['objectid', 'gid'],
// Export to download file. Option values are 'CSV', 'XLS', or a Formatter object (see FeatureGridPanel) , default is no export (results in no export menu).
exportFormats: ['CSV', 'XLS', 'GMLv2', 'Shapefile',
{
name: 'Esri Shapefile (WGS84)',
formatter: 'OpenLayersFormatter',
format: 'OpenLayers.Format.GeoJSON',
targetFormat: 'ESRI Shapefile',
targetSrs: 'EPSG:4326',
fileExt: '.zip',
mimeType: 'application/zip'
},
{
// Try this with PDOK Streekpaden and Fietsroutes :-)
name: 'GPS File (GPX)',
formatter: 'OpenLayersFormatter',
format: 'OpenLayers.Format.GeoJSON',
targetSrs: 'EPSG:4326',
targetFormat: 'GPX',
fileExt: '.gpx',
mimeType: 'text/plain'
},
'GeoJSON', 'WellKnownText'],
// Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
// exportFormats: ['CSV', 'XLS'],
maxFeatures: 10,
// In case that the same layer would be requested more than once: discard the styles
discardStylesForDups: true
}
}
}},
{type: "-"} ,
{type: "pan"},
// {type: "pan", options: {iconCls: "icon-hand"}},
{type: "zoomin"},
{type: "zoomout"},
{type: "zoomvisible"},
{type: "coordinatesearch", options: {onSearchCompleteZoom: 8}},
{type: "-"} ,
{type: "zoomprevious"},
{type: "zoomnext"},
{type: "-"},
/** Use "geodesic: true" for non-linear/Mercator projections like Google, Bing etc */
{type: "measurelength", options: {geodesic: false}},
{type: "measurearea", options: {geodesic: false}},
{type: "-"},
{type: "addbookmark"},
{type: "help", options: {tooltip: 'Help and info for this example', contentUrl: 'help.html'}}
];
// The content of the HTML info panel.
Ext.namespace("Heron.options.info");
Heron.options.info.html =
'
This is the Heron Mapping Client.' + '
This viewer and in fact the entire website has been made with the Open Source' + ' project Heron Mapping Client. This on ' + 'GeoExt-based Viewer is very flexible and extensible ' + 'See examples like Heron MC for Kademo INSPIRE.