Where is legend enabled (v2)

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue with Drupal/OpenLayers 6.x-2.x-dev, the ol+blockswitcher block, and the WMS map page described in the report. Trace why the block renders only the “Map layers,” “Base layers,” and “Data layers” headings; done means the expected layer information or links are displayed, with the behavior verified on the map page.

Written by the indexing model from the issue text.

Description

Apologies: cannot see how the previous issue was closed (by mistake?)...or how to re-open it.
Here is is again:

Surely this must be obvious and I'm just missing it...

Drupal/OpenLayers6.x-2.x-dev (dec14) and just installed this one (01mar).

The docos mention "a block in a corner of a map that provides information on layers"

I've enable the "ol+blockswitcher" and specified that it run on the page where the map is displayed.

The map is displaying a number of WMS layers from a remote server.

The ol+blockswitcher does not seem to display any information at all...simply rpints out:

Map layers
Base layers
Data layers

as H2 heading text...no links, no display, nada.

Any pointers very much appreciated!

Dominant language
JavaScript
Stars
64
Forks
62
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/openlayers_plus

All issues in developmentseed/openlayers_plus

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.