maptalks / maptalks/maptalks.js

浏览器缩放后网格数据跑偏

Open
#1,927 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

maptalks's version and what browser you use?

maptalks v1.0.0-rc.14
maptalks.gridlayer v0.6.8

Issue description

浏览器缩放后,官方Demo中,网格数据跑偏

Please provide a reproduction URL (on any jsfiddle like site)

2023-04-06_111817

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 offset in the official demo after changing the browser zoom, using the reported maptalks v1.0.0-rc.14 and maptalks.gridlayer v0.6.8 versions. Trace the grid rendering entry point and compare its positioning before and after zoom; done means the grid data stays aligned after browser zoom changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.