Skip to content

feat: change web asset detail map to zoom level 12.5 - #11643

Merged
zackpollard merged 1 commit into
mainfrom
feat/set-map-zoom-level
Aug 7, 2024
Merged

zackpollard merged 1 commit into
mainfrom
feat/set-map-zoom-level

Conversation

@zackpollard

@zackpollard zackpollard commented Aug 7, 2024 •

Copy link
Copy Markdown
Member

Zoom level right now is pretty much useless, we should start the asset viewer map zoom a bit further out to give more context on the location. You're still able to zoom in more if you want more detail. This will also help with higher cache-hit percentage and faster responses, as zoom level 12 is more likely to be cached

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if all tile providers support 12.5. I know some users use other providers and this might break for them if their provider doesn't.

@zackpollard

Copy link
Copy Markdown
Member Author

I'm not sure if all tile providers support 12.5. I know some users use other providers and this might break for them if their provider doesn't.

This just sets the map scaling, but the underlying request is still for zoom level 12, so it should work with any z/x/y provider

@zackpollard
zackpollard merged commit 1468946 into main Aug 7, 2024
@zackpollard
zackpollard deleted the feat/set-map-zoom-level branch August 7, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants