mapbox / mapbox/mapbox-gl-js

Simultaneous 'fill-pattern' area rotation with the whole map

Open
#12,548 0 comments 0 reactions 0 assignees View on GitHub
auto-triaged 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**: v2.10.0

### Question

Hi! Thank you for your amazing project! Could you help me, please, is it possible to enable rotation of pattern in area filled with 'fill-pattern' style paint property?

For example for 'fill-pattern' area, what looks like this:
image
after map rotation will look like this:
image

Is it possible to rotate pattern image with map simultaneously? I couldn't find any information in docs about it. Maybe it will be handy to have such functionally in style paint properties.

### Links to related documentation

https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#paint-fill-fill-pattern

Contributor guide

Open the contributing guide

Research direction

Start with the fill-pattern paint-property entry in the linked style specification documentation and the map-rotation behavior described in the examples. Determine whether the requested simultaneous pattern rotation is supported or requires a new style capability; completion would require an agreed implementation scope and corresponding documentation or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
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.