Skip to content

Use tile zoom rather than map zoom to get attributions#37

Open
diachedelic wants to merge 1 commit intodigidem:gh-pagesfrom
diachedelic:clamp-zoom
Open

Use tile zoom rather than map zoom to get attributions#37
diachedelic wants to merge 1 commit intodigidem:gh-pagesfrom
diachedelic:clamp-zoom

Conversation

@diachedelic
Copy link

If map is zoomed further that maxNativeZoom allows, the zoom level used to match attributions should be that used to fetch the tiles from the server, i.e. the clamped zoom level.

@diachedelic
Copy link
Author

Otherwise attributions do not appear when zoom is higher than 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants