Permalink
Browse files

#463 more fixes in broken maplayers in examples

1 parent 42e0428 commit 972d2c53e4100c57a7e51d4b93b31a62cd0787c4 @justb4 justb4 committed Nov 11, 2016
@@ -279,6 +279,7 @@ p.credit {
padding-bottom: 18px;
}
+/* Fix for http://stackoverflow.com/questions/11266297/openlayers-openstreetmap-background-is-vertically-striped-and-squished */
.olMap img {
max-width: none
}
View
@@ -110,7 +110,7 @@ Add Layers via various catalog services (WMS and CSW etc) from Dutch Layers and
.. cssclass:: exampleblock example-columnsautowidth
ColumnsAutoWidth
------------------
+----------------
Show WMS GetFeatureInfo in Panel with automatic column width based on fieldname and values.
@@ -449,6 +449,26 @@ Demonstrates layers from the OpenBasisKaart, OpenStreetMap tiles in Dutch (RD) p
+.. _example.overviewmap:
+
+.. cssclass:: exampleblock example-overviewmap
+
+Overview Map
+------------
+Integrate the standard OpenLayers OverviewMapControl to determine/pan overall location.
+
+
+
+.. _example.overviewmapnl:
+
+.. cssclass:: exampleblock example-overviewmapnl
+
+Overview Map Dutch
+------------------
+Integrate the standard OpenLayers OverviewMapControl to determine/pan overall location (Dutch Projection).
+
+
+
.. _example.pdokviewer:
.. cssclass:: exampleblock example-pdokviewer
@@ -509,6 +529,16 @@ Use the GXP QueryPanel to build and execute WFS spatial and filter-queries on Du
+.. _example.search by buffer:
+
+.. cssclass:: exampleblock example-search by buffer
+
+Search by Buffer
+----------------
+Search by buffer on vector or wfs layers
+
+
+
.. _example.searchbydraw:
.. cssclass:: exampleblock example-searchbydraw
@@ -555,7 +585,7 @@ MapPanel with bottom status bar.
StreetView
----------
-Show Google StreetView for clicked point in map. WORK IN PROGRESS!
+Show Google StreetView for clicked point in map.
@@ -6,7 +6,7 @@ LATEST_VERSION = latest
LIB_NAME = heron
ZIP_NAME = $(LIB_NAME)-$(VERSION).zip
PROD_DIR = kadmin@heron-mc.org:/var/www/heron-mc.org/lib/heron
-PROD_CGI_DIR = $(PROD_DIR)/../../cgi-bin
+PROD_CGI_DIR = root@heron-mc.org:/var/www/heron-mc.org/cgi-bin
PROD_DOWNLOAD_DIR = $(PROD_DIR)/../download
LOCAL_PROD_DIR = /var/www/heron-mc.org/lib/heron
LOCAL_PROD_CGI_DIR = $(LOCAL_PROD_DIR)/../../cgi-bin
@@ -174,7 +174,7 @@ Heron.options.map.layers = [
// }}
//),
new OpenLayers.Layer.WMS(
- "Placenames (OpenGeo)",
+ "Placenames (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "osm:placenames_large", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: false, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize',
@@ -201,7 +201,7 @@ Heron.options.map.layers = [
})
}),
new OpenLayers.Layer.WMS(
- "USA States (OpenGeo)",
+ "USA States (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "states", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: false, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize', metadata: {
@@ -30,63 +30,65 @@ Ext.namespace("Heron");
/*
See DefaultConfig.js where the bookmarks panel is added as follows:
- {
- xtype: 'hr_bookmarkspanel',
- id: 'hr-bookmarks',
- hropts: Heron.options.bookmarks
- }
+ {
+ xtype: 'hr_bookmarkspanel',
+ id: 'hr-bookmarks',
+ hropts: Heron.options.bookmarks
+ }
*/
Ext.namespace("Heron.options");
// 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: "featureinfo", options: {
- popupWindow: {
- width: 360,
- height: 200,
- featureInfoPanel: {
+ {
+ type: "featureinfo", options: {
+ popupWindow: {
+ width: 360,
+ height: 200,
+ featureInfoPanel: {
displayPanels: ['Table'],
- // Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
+ // Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
exportFormats: ['CSV', 'XLS', 'GMLv2', 'Shapefile', '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
- }
- }
- }},
- {type: "-"} ,
- {type: "pan"},
- {type: "zoomin"},
- {type: "zoomout"},
- {type: "zoomvisible"},
- {type: "coordinatesearch", options: {onSearchCompleteZoom: 8}},
- {type: "-"} ,
- {type: "zoomprevious"},
- {type: "zoomnext"},
- {type: "-"},
- {type: "addbookmark"}
+ // Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
+ // exportFormats: ['CSV', 'XLS'],
+ maxFeatures: 10
+ }
+ }
+ }
+ },
+ {type: "-"},
+ {type: "pan"},
+ {type: "zoomin"},
+ {type: "zoomout"},
+ {type: "zoomvisible"},
+ {type: "coordinatesearch", options: {onSearchCompleteZoom: 8}},
+ {type: "-"},
+ {type: "zoomprevious"},
+ {type: "zoomnext"},
+ {type: "-"},
+ {type: "addbookmark"}
];
Heron.options.bookmarks =
- [
- {
- id: 'tnotoch',
- name: 'TNO Boorgaten',
- desc: 'een voorbeeld van een TNO Dino Services',
- layers: ['OpenStreetMap', 'TNO Boorgaten'],
- x: 133993,
- y: 473167,
- zoom: 10
- },
- {
- id: 'debrughaha',
- name: 'Kadaster - De Brug',
- desc: 'een voorbeeld van een Place2',
- layers: ['Luchtfoto (PDOK)'],
- x: 194194,
- y: 465873,
- zoom: 13
- }
- ];
+ [
+ {
+ id: 'tno',
+ name: 'Natura 2000 (TMS)',
+ desc: 'een voorbeeld van een bookmark',
+ layers: ['OpenBasisKaart OSM', 'Natura 2000 (TMS)'],
+ x: 133993,
+ y: 473167,
+ zoom: 8
+ },
+ {
+ id: 'debrug',
+ name: 'Kadaster - De Brug',
+ desc: 'een voorbeeld van een Place2',
+ layers: ['Luchtfoto (PDOK)'],
+ x: 194194,
+ y: 465873,
+ zoom: 13
+ }
+ ];
@@ -108,7 +108,7 @@ Heron.options.map.layers = [
),
new OpenLayers.Layer.WMS(
- "States (OpenGeo)",
+ "States (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "states", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: false, noLegend: false, transitionEffect: 'resize', queryable: true})
@@ -124,21 +124,6 @@ Heron.options.map.layers = [
attribution: "Bron: BRT Achtergrondkaart, � <a href='http://openstreetmap.org/'>OpenStreetMap</a> <a href='http://creativecommons.org/licenses/by-sa/2.0/'>CC-By-SA</a>",
transitionEffect: 'resize', group: 'background'
}],
- /*
- * Areal images PDOK.
- */
- ["OpenLayers.Layer.TMS",
- "Luchtfoto (PDOK)",
- 'http://geodata1.nationaalgeoregister.nl/luchtfoto/tms/',
- {
- layername: 'luchtfoto_EPSG28992',
- type: 'jpeg',
- serverResolutions: Heron.options.serverResolutions.zoom_0_13,
- isBaseLayer: false,
- visibility: false,
- group: 'background'
- }
- ],
["OpenLayers.Layer.Image",
"Blanco",
@@ -188,7 +173,6 @@ Heron.options.layertree.tree = [
},
{
text: 'Overlays', expanded: true, children: [
- {nodeType: "gx_layer", layer: "Luchtfoto (PDOK)"},
{nodeType: "gx_layer", layer: "Natura 2000 (TMS)"}
]
}
@@ -34,8 +34,6 @@ Heron.layout = {
/** Below are Heron-specific settings for the Heron MapPanel (xtype: 'hr_mappanel') */
hropts: {
- layers: [new OpenLayers.Layer.WMS("Global Imagery",
- "http://demo.boundlessgeo.com/geoserver/gwc/service/wms",
- {layers: "bluemarble"})]
+ layers: [new OpenLayers.Layer.OSM()]
}
};
@@ -64,7 +64,7 @@ Heron.layout = {
{singleTile: true, isBaseLayer: true, visibility: true, noLegend: true, transitionEffect: 'resize'}
),
new OpenLayers.Layer.WMS(
- "USA States (OpenGeo)",
+ "USA States (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "states", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: true, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize'}
@@ -77,7 +77,7 @@ Heron.layout = {
// {singleTile: true, isBaseLayer: true, visibility: false, noLegend: true, transitionEffect: 'resize'}
// ),
new OpenLayers.Layer.WMS(
- "World Cities (OpenGeo)",
+ "World Cities (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "cities", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: true, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize'}
@@ -117,7 +117,7 @@ Heron.layout = {
*/
new OpenLayers.Layer.OSM(),
new OpenLayers.Layer.WMS(
- "World Cities (OpenGeo)",
+ "World Cities (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "cities", transparent: true, format: 'image/png'},
{singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: true,
@@ -154,7 +154,7 @@ Heron.layout = {
*/
new OpenLayers.Layer.OSM(),
new OpenLayers.Layer.WMS(
- "USA States (OpenGeo)",
+ "USA States (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "states", transparent: true, format: 'image/png'},
{singleTile: false, opacity: 0.9, isBaseLayer: false, visibility: true, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize', metadata: {
@@ -168,7 +168,7 @@ Heron.layout = {
}
),
new OpenLayers.Layer.WMS(
- "World Cities (OpenGeo)",
+ "World Cities (Boundless)",
'http://demo.boundlessgeo.com/geoserver/ows?',
{layers: "cities", transparent: true, format: 'image/png'},
{singleTile: false, opacity: 0.9, isBaseLayer: false, visibility: false,

0 comments on commit 972d2c5

Please sign in to comment.