Skip to content
Discussion options

You must be logged in to vote

Problem 1: Flickering at Close Zoom

First, ensure you're on the latest version of the library, as there were some layer flickering issues in v0.10 that should be fixed in v0.10.4.

Second, it's possible your symbol is overlapping other SymbolLayer content on the map. Check out the iconAllowOverlap and iconAllowPlacement fields on the SymbolLayer to ignore overlap. I think for this icon, you'll want to set iconAllowOverlap to true.

Problem 2: Rotation Compensation

Check out the iconRotationAlignment field. Setting this to "map" will align the icon to the map instead of the viewport.

In general, I'd recommend you familiarize yourself with the MapLibre Style Spec to understand the breadth…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MAXBAF1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants