maptalks / maptalks/maptalks.js
detectRetina not implemented?
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?
Latest. Chrome.
Issue description
It looks like detectRetina might not yet be implemented in maptalks. This is a common feature in comparable map tools. The end result is that on retina displays, the 3D is sharp, but the tiles are low res. I believe it's a simple enough thing to implement - it's just about getting the higher resolution tiles - but unfortunately it's beyond me to contribute.
Cheers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for detectRetina and the tile-loading entry point, then trace how tile resolution is selected for display devices. Done means retina displays request higher-resolution tiles so they are as sharp as the 3D view; the issue does not name a test or file to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100