Table of Contents
openlayersmapoverlays Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
- 2018-04-22 "Greebo" yes
- 2017-02-19 "Frusterick Manners" yes
This extension is marked as obsoleted. Therefore it is hidden in the Extension Manager and the extension listing. Furthermore, it is candidate for removal.
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
Discontinued
All this functionality has been moved into openlayersmap as of version 2022-06-14.
Uninstall this plugin if you want to use the current release of openlayersmap to avaid conflicts.
see: https://github.com/mprins/dokuwiki-plugin-openlayersmap/pull/10
Installation
External requirements:
This plugin requires the following additional components that must be installed separately: openlayersmap
Search and install the plugin using the Extension Manager.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.
Mapillary
To add a Mapillary layer to your map use the following syntax:
<olmap_mapillarylayer id="olMap" visible="true"></olmap_mapillarylayer>
Where id
is the id of the openlayersmap and visible
defines whether the layer is visible when the layer is added to the map
To add a specific sequence to the map use the following syntax:
<olmap_mapillarylayer id="olMap" visible="true" skey="4t2k4Oaq1MezwMbMVNIgHA"></olmap_mapillarylayer>
skey
being the sequence identifier.
Please note the Mapillary conditions for using this layer on your website:
- Non-commercial use and small scale use for early demos and prototypes are free of charge
- Commercial use of the API and Mapillary data requires an agreement with Mapillary
- Attribution is required (this is built-in).
Change Log
The complete changelog is available on GitHub
- Merge pull request #7 from mprins/openlayers-6 (2022-06-14 12:06)
- This repository has been archived all functionality has been moved in… (2022-06-14 12:00)
- Merge pull request #4 from mprins/dependabot/github_actions/actions/c… (2022-03-07 08:47)
- Bump actions/checkout from 2 to 3 (2022-03-05 21:04)
- Bump dessant/lock-threads from 2 to 3 (2021-10-03 10:55)
- PSR12 formatting (2021-05-05 12:09)
- Create FUNDING.yml (2021-04-28 18:29)
- Update README.md (2021-04-23 22:38)