Reorder selected tiles in the pmtiles.io viewer app?

Open
#659 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
frontend, web-dev

Research direction

No files or tests are named. Start by locating the pmtiles.io viewer app entry point and the code that builds and renders the selected tile-layer list. Define how layer order is represented, then verify that a user can reorder layers and that the map's visual stacking follows the selected order.

Written by the indexing model from the issue text.

Description

Hi there,

Thank you very much for the excellent work on PMTiles!

I have some PMTiles datasets with dozens of layers that I explore with the PMTiles viewer. However, sometimes the order can be wrong (i.e. a layer of admin boundaries might obscure the layer of points below it)
I was wondering, would be in scope to add the ability to reorder the tile layers in the PMTiles viewer? I think ideally having something like a drag and drop order component would be super useful. However, this would also add complexity and/or potentially another dependency for any non trivial components so wanted to check.

Thank you!

Dominant language
TypeScript
Stars
3k
Forks
196
Avg merge
19h 2m
Merged PRs (30d)
5

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 protomaps/PMTiles

All issues in protomaps/PMTiles

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.