Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Layers > When enabled, allow details for elements to be viewed (perhaps on hover) #275

Open
3 tasks
dawnbcgov opened this issue Sep 27, 2024 · 3 comments
Labels
complicated enhancement New feature or request
Milestone

Comments

@dawnbcgov
Copy link
Contributor

Description:

When enabled, allow details for elements to be viewed (perhaps on hover)

Definition of Ready:

  • Wireframes are included
  • Design / Solution is accepted by Product Owner
  • Dependencies are identified (technical, business, regulatory/policy)
@dawnbcgov
Copy link
Contributor Author

We got feedback that the way current data layers exist they are not particularly helpful for power users, or really anyone who is familiar with the data on those layers. Primarily because there is no way to get the underlying metadata for the layers.

The one that was brought up multiple times is being able to find our Well ID versus just see a point on a map where the well is would be super helpful.

Screenshot of the current behaviour, when you hover over those dots there is no information.

image

@dawnbcgov dawnbcgov moved this from Todo to In Progress in Organics Info Backlog (EPD Digital Services) Nov 8, 2024
@dawnbcgov
Copy link
Contributor Author

@AmanBhathal - timebox further exploration for a week until Nov 22.

@micheal-w-wells
Copy link

Different ways to approach:

All assume fields you need are available within the layer:

  • Labels appear as map pans/zooms
    • Via WMS layer via default style sheet (if there is one)
    • Via WMS layer via custom style sheet (via getMap parameter)
    • Via Mapbox version of layer if available (check getCapabilities request for DataBC layer)
    • *Via custom vector layer file (recommend pmtile) generated via cronjob utilizing all layer data, host on s3. Layer loads faster for client and is available at any zoom, but some work involved in building cronjob to page through all records, cache, generate pmtile file, and put on s3.
  • Labels appear on click/hover:
    • *User hover/click -> onClick/onHover event listener -> Send bounding box via WFS call to layer -> Use GeoJSON response to render labels

Note that options with '*' indicate best option if extra data (beyond whats in the WMS/WFS layer) needs to be made available in the label/popup.

@dawnbcgov dawnbcgov added the enhancement New feature or request label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complicated enhancement New feature or request
Development

No branches or pull requests

4 participants