DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:openlayersmapoverlays

This is an old revision of the document!


openlayersmapoverlays Plugin

Compatible with DokuWiki

Angua, Adora Belle, Weatherwax, Binky

plugin Add extra map layers to your openlayersmap

Last updated on
2014-04-10
Provides
Syntax
Repository
Source
Requires
openlayersmap

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with embed, geo, maps, media, spatial

Installation

:!: External requirements: This plugin requires the following additional components that must be installed separately: openlayersmap (If you run the -snapshot release of one you must run the -snapshot version of the other)

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

Syntax

XYZ (tiled)

To add a XYZ style (eg. OpenStreetMap tiling scheme) layer to a map use the following syntax:

<olmap_osmlayer id="olmap" name="piste" url="http://tiles.openpistemap.org/nocontours/${z}/${x}/${y}.png" visible="true" attribution="OpenPisteMap"></olmap_osmlayer>

Where id is the id of the openlayersmap, name is the name of this map layer, url is the XYZ layer url, visible defines whether the layer is visible when the layer is added to the map, attribution is displayed in the attribution area of the map frame.

WMS

To add a WMS layer to a map use the following syntax:

<olmap_wmslayer id="olmap" name="rain" url="http://openweathermap.org/t/tile.cgi?SERVICE=WMS" attribution="OpenWeatherMap" visible="true" layers="GLBETA_PR"></olmap_wmslayer>

Where id is the id of the openlayersmap, name is the name of this map layer, url is the WMS layer url, layers are the layers from the map service that you want displayed, visible defines whether the layer is visible when the layer is added to the map, attribution is displayed in the attribution area of the map frame.

Development

Change Log

1.3

  • use OpenLayers 2.14-dev

1.2.1

  • use OpenLayers 2.13.1

1.2

  • use OpenLayers 2.13

1.1

  • provides WMS support1

1.0

  • initial release, provides XYZ support
plugin/openlayersmapoverlays.1397664737.txt.gz · Last modified: 2014-04-16 18:12 by 218.82.183.53