mapbox / mapbox/leaflet-image

How to increase the size and the resolution of the exported image?

Open
#130 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
380
Forks
140
PR merge metrics
No merged PRs in 30d

Description

I want to increase the size and quality of the exported image which is a raster image.
I am using 1024 x 1024 tiles. When I try to export the full image it will give me a low quality image.

So how can export the whole image indifferrent of the zoom level and set the quality/size/resolution of the image?

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

No file, test, or entry point is named. Start by locating the export API and reproducing the result with 1024 × 1024 tiles; define the required output dimensions, resolution, and zoom-level behavior before assessing an implementation. Done means the full map exports at the requested size and quality regardless of zoom.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.