mapbox / mapbox/mapbox-gl-js

Hide multiple layers in Static Images API

Open
#12,607 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello,
We've been using the Static Images API for a while and recently our PM wants to remove some layers (road-path, poi-label ) from the static map. I've read the API documentation and tried some params but no luck. It seems only one filter is allowed in the URL, want to know if this is doable via setting some param in the static image API URL ?

Thanks.

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 with the Static Images API documentation and its URL filter parameters. Determine whether multiple layer filters can be represented; done means documenting or implementing a supported way to hide both road-path and poi-label layers.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.