more examples (see also OpenLayers Examples) by gis.ibbeck.de

Date Image Link Beschreibung
28.12.2016 OpenLayers 2.12

add WMS layer to map
Request WMS GetCapabilities and add layers to map.

-Version 1.1.1 and 1.3.0 supported
-QGIS Layerdefinition File Creation
-CORS with OpenLayers 2.12
-ObjectBrowser, debugConsole
23.01.2015 ol3 3.1.1

WMSZ Layer
ol3 TileWMSZ

-a new ol3 layer to display wms services by map resolution

-LayerSwitcher (by Matt Walker)
-ObjectBrowser
19.01.2015 ol3 3.1.1

Map Rotation
ol3 map rotation

-ol.source.ImageStatic
-ol.source.ImageWMS

-LayerSwitcher (by Matt Walker)
-ObjectBrowser
09.01.2015 ol3 3.1.1

Map Projection Viewer
Projection Polyconic
Projection Foucaut
ol3 Map Projection Browser for most projections
defined in the PROJ4 epsg file (version 4.8.0).

-MapServer to deliver reprojected world borders
-proj4js to reproject world vector data
-Proj4js.defs derived from PROJ4 epsg file

-ObjectBrowser
01.01.2015 OpenLayers 2.12

distortion map EPSG:3034 (lcc)
distortion map EPSG:3035 (laea)
distortion map EPSG:25832 (utm)
distortion map for most projections
defined in the PROJ4 epsg file (version 4.8.0) and supported by proj4js.

-MapServer to deliver reprojected world borders
-proj4js to reproject world vector data
-Proj4js.defs derived from PROJ4 epsg file

-ObjectBrowser
16.02.2014 OpenLayers 2.12

restrictedExtent example
fullscreen example
restrictedExtent for Image Layer
Image Layer as baselayer and appropriate mapOptions to restrict the extent for zoom and pan




-ObjectBrowser
16.02.2014 OpenLayers 2.12

CORS example
the WFS layer isn't available anymore.
Cross-Origin Resource Sharing (CORS)

load data from remote server without proxy script



-ObjectBrowser
06.12.2013 OpenLayers dev

osm_restricted_zoom_levels
OpenLayers.Layer.OSM

restrict zoom levels of OSM layer

-ObjectBrowser
01.12.2013
01.01.2015
OpenLayers 2.12

Map Projection Viewer
Projection Examples
Projection Browser for most projections
defined in the PROJ4 epsg file (version 4.8.0).

-MapServer to deliver reprojected world borders
-dropdown lists of PROJ4 epsg items orderd by projection
-proj4js to reproject world vector data
-Proj4js.defs derived from PROJ4 epsg file
-length distortion map

-ObjectBrowser, debugConsole
23.11.2013 OpenLayers 2.12

world_3411_new
OpenLayers.Layer.Vector
Map Projection EPSG:3411 (North Pole)
proj4js
Graticule, GraticuleXY
- vector coordinates transformation with proj4js

-ObjectBrowser
16.11.2013 OpenLayers 2.12

swipe control example
Swipe Control Example
The Swipe Control is an OpenLayers extension developed by map.geo.admin.ch to compare to layers.
-Swipe Control
-WMS Services of "Dienste des NRW-Atlas der Bezirkregierung Köln"

-ObjectBrowser
14.11.2013 OpenLayers dev

rotated image example
Rotated Image
Use of externalGraphic to display a rotated image in a georeferenced manner
-externalGraphic, rotation, drawFeature patch

-ObjectBrowser
16.06.2013 OpenLayers 2.12

WMC example
OpenLayers.Format.WMC
use of Web Map Context file to create a map
-read, merge and write WMC file

-ObjectBrowser, debugConsole
04.06.2013 OpenLayers 2.12

GeoJSON BaseLayer
OpenLayers.Layer.Vector as BaseLayer
in projection other than EPSG:4326 and EPSG:900913
-map options must include maxExtent for calculation
of the resolutions for the zoomlevels
09.05.2013 OpenLayers 2.12

Vector BaseLayers
OpenLayers.Layer.Vector as BaseLayers
-two Vector Layers, both as BaseLayer
11.02.2013 OpenLayers dev

halo_issue
feature style halo issue
-labels with halo get not updated, when only the default style
or the select style has set labelOutlineWidth>0
01.12.2012 OpenLayers 2.12

kml_csv_data_layer
OpenLayers.Layer.Vector KML and Text
- markers and labels
- labels from KML ExtendedData
- use of propertyStyles for parsing attributes
19.11.2012 OpenLayers 2.12

world_3411
OpenLayers.Layer.Vector
Map Projection EPSG:3411 (North Pole)
proj4js
GraticuleXY
- vector coordinates transformation with proj4js
10.11.2012 OpenLayers 2.12

protocol_refresh
OpenLayers.Layer.Vector, protocol refresh
- vector_layer.refresh(options)
03.11.2012 OpenLayers 2.12

PointTrack_Boaga_Projection
OpenLayers.Layer.PointTrack
Map Projection EPSG:3004, Gauss-Boaga
proj4js
Graticule, GraticuleXY
- vector coordinates transformation with proj4js
03.11.2012 OpenLayers 2.12

SpericalMercator Aliases
OpenLayers.Layer.WMS
OpenLayers.Layer.ArcGIS93Rest
- options param "projection" to overwrite map projection in request
03.11.2012 OpenLayers 2.12

OSM_localTiles
OpenLayers.Layer.OSM
- change url for requesting local OSM tiles
03.11.2012 OpenLayers 2.12

OSM_Mapnik_localTiles
OpenLayers.Layer.OSM.Mapnik
- change url for requesting local OSM.Mapnik tiles
anno OpenLayers 2.10

ArcGIS93Rest
OpenLayers.Layer.Image
- change image extent
OpenLayers.Layer.ArcGIS93Rest
-some ESRI layers
anno OpenLayers 2.8

armenia_900913
Map Projection SphericalMercator, Vectordata in EPSG:2498
- vector coordinates transformation with proj4js
anno OpenLayers 2.8

baselayer OSM
Map Projection SphericalMercator
OSM layer as Baselayer with WMS as Overlay layers
OSM layer and WMS as Overlay layers
anno OpenLayers dev

SimpleMap
World Map in EPSG:4326, WMS layers
Editing tools for drawing point, line and polygon
controls : LayerSwitcher, ScaleLine, Scale, MousePosition, OverviewMap, KeyboardDefaults
anno OpenLayers dev

SimpleMapserverMap
World Map in EPSG:4326, MapServer layers
Editing tools for drawing point, line and polygon
controls : LayerSwitcher, ScaleLine, Scale, MousePosition, OverviewMap, KeyboardDefaults
anno OpenLayers stable

sketchstarted
OpenLayers.Layer.OSM.Mapnik, Vector layer
- vector layer events sketchstarted, beforefeatureadded
- delete previous feature before adding new one
anno OpenLayers 2.8

windig
styleMap with externalGraphic
- change the rotation of the externalGraphic by attribute
anno OpenLayers stable

WMS World Map
OpenLayers.Layer.WMS
- use of SLD and SLD_BODY
anno OpenLayers 2.8

WFS_GetFeatureControl
MapServer WFS layer
- OpenLayers.Layer.WFS
- OpenLayers.Control.GetFeature
anno OpenLayers 2.11

changeBaseLayer
Map with two Baselayers, Google and OSM
- toggle Overlays displayed in the LayerSwitcher
anno OpenLayers 2.9

PointsFromText
OpenLayers.Layer.Vector with Protocol.HTTP and OpenLayers.Format.Text
OpenLayers.Layer.Text
- two ways to add features from textfile
anno OpenLayers 2.10

swap_image_url
OpenLayers.Layer.Image
- change image url and recalculate bounds
anno OpenLayers 2.10

LayerSwitcher_outside_map
LayerSwitcher control outside map div
WMS layer styled with SLD
anno OpenLayers 2.10

Map-mit-Marker
feature by click
- Marker and Label
- only Label
- input text to set label text
anno OpenLayers 2.10

Map_mit_Marker
feature by click or coordinates
- Marker and Label
- only Label
- input text to set label text
- input text to set coordinates
anno OpenLayers stable

OL210_GoogleV3
Google V3 layer, WMS and Vector layers
- Google layer moves async by map pan
anno OpenLayers 2.10

edit_example_popup_onAdded
editing tools for drawing and modifying features
modify attributes
GetFeature Control
anno OpenLayers 2.8

draw_and_measure
OpenLayers.Control.DrawFeature for Linestrings
- calculating part length while drawing
anno OpenLayers 2.8

draw_line_and_circle
difference between point symbol and point as circle
anno OpenLayers 2.8

navigation
Kurs- und Distanzberechnung
anno OpenLayers 2.8

navigation_OSeaM
Kurs- und Distanzberechnung
- output angle in grad, minutes or decimalgrad
- output length in seamiles or kilometers- export track as gml and csv
anno OpenLayers 2.9

ExternalGraphicTilesLayer
use of ExternalGraphic for tiled images
anno OpenLayers 2.9

Image_Layer_Antarctica
Antarctica as OpenLayers.Layer.Image, Orthographic Projection
anno OpenLayers 2.9

Markers
point features
- displayed with OpenLayers default style
- displayed with styleMap using ExternalGraphic
anno OpenLayers 2.9

SimpleMap ImageBaseLayer PK 900913
OpenLayers.Layer.Image as Baselayer, EPSG:900913
- WMS request as image source
- WMS Overlay from same WMS
anno MapServer 4.9, 5.2, 5.6.1, 6.0.0

MapServer_SLD_World
WMS layer styling with SLD
- capabilities and differences of MapServer Versions
anno sld_themes SLD examples
anno sld_themes SLD examples 2
anno sld_themes SLD examples 3
anno MapServer 6 beta

MapServer_Grayscale
MapServer
- output format to get a grayscale image
- "FORMAT": "image/png; mode=8bit, grayscale"
anno MapServer 4.9, 5.2, 5.6.1, 6.0.0

tests_sld_filter
MapServer SLD filter issues
anno MapServer 4.9, 5.2, 5.6.1, 6.0.0

tests
MapServer SLD World, strange behaviour
Links .