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, Ponder Stibbons, Hrun, Detritus, 2016-06-26, 2017-02-19

plugin Add extra map layers to your openlayersmap

Last updated on
2018-03-09
Provides
Syntax
Repository
Source
Conflicts with
openlayersmap
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)

Search and install the plugin using the Extension Manager or manually with the download from the SourceForge Mirror. 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).

Development

Change Log

version 4.13

version 4.12

  • use latest version of OpenLayers 2.14-dev

version 4.11

  • use latest version of OpenLayers 2.14-dev

version 4.10

  • use latest version of OpenLayers 2.14-dev

version 4.9

  • some PHP 7 fixes

version 4.8

  • -

version 4.7

  • PHP 7 compatibility fixes

version 4.6

  • use latest version of OpenLayers 2.14-dev

version 4.5

  • use latest version of OpenLayers 2.14-dev

version 4.4

  • use latest version of OpenLayers 2.14-dev

version 4.3

  • use OpenLayers 2.14-dev

version 4.2

  • use OpenLayers 2.14-dev
  • sync version number with openlayersmap; as of this version the version numbers should be the same.
  • add support for Mapillary

version 1.4

  • use OpenLayers 2.14-dev

version 1.2.1

  • use OpenLayers 2.13.1

version 1.2

  • use OpenLayers 2.13

version 1.1

  • provides WMS support

version 1.0

  • initial release, provides XYZ support
plugin/openlayersmapoverlays.1520626462.txt.gz · Last modified: 2018-03-09 21:14 by mprins

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki