From 4ccb6e23e18d45b07674efbc3723b15ecfeeb8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 4 Jan 2020 10:47:59 +0100 Subject: [PATCH] Add a 'casing' pane below the overlayPane --- README.md | 2 +- src/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bbb87edd..da5e7595 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ The following values are possible for categories (the only mandatory value is qu * pattern-angleCorrection: degrees (arrowHead and marker only) * pattern-rotate: false (marker only) * pattern-path-*: Options for the path, e.g. pattern-path-width, pattern-path-color. - * pane: show vector on the specified pane (usually defined: 'overlayPane' (default), 'hover', 'selected') + * pane: show vector on the specified pane (usually defined: 'overlayPane' (default), 'hover', 'selected', 'casing') * title: the title of the feature popup, the object in the list and the details page. (default: localized tags for 'name', 'operator' or 'ref', default: 'unknown') * body: the body for the feature popup and the details page. * description: a short description shown in the list next to the title. diff --git a/src/index.js b/src/index.js index 4efce05c..0428ad2c 100644 --- a/src/index.js +++ b/src/index.js @@ -58,6 +58,8 @@ window.onload = function () { map.createPane('selected') map.getPane('selected').style.zIndex = 498 + map.createPane('casing') + map.getPane('casing').style.zIndex = 399 } function onload2 (initState) {