mapbox / mapbox/mapbox-gl-js

Zooming with raster tiles overlay

Open
#9,048 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

mapbox-gl-js version: 1.5

browser: Chrome

Steps to Trigger Behavior

When using a raster tile overlay, tile images are scaled in zoom ranges between two integers (if you zoom-out from level 10 to 9 for example, tiles from zoomlevel 10 are visible until you reach zoomlevel 9). Is there any option available to zoom in steps of 1, so if you scroll your mouse for zooming, factor 1 is used to zoom in/out? For vector tiles this isn't a problem, but for raster tiles it is desirable to zoom in steps of 1. Is this adjustable or is it a bug when using raster tiles?

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the raster tile overlay behavior described for mapbox-gl-js 1.5 in Chrome, using the mouse wheel to zoom between levels 10 and 9. Read the zoom handling and raster tile rendering entry points to determine whether integer zoom steps are supported. Done means the issue is resolved with an available adjustment or a clearly scoped implementation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.