New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Maplibre #4294
feat: Maplibre #4294
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
a2f4b5c
to
371f22d
Compare
371f22d
to
f22dfe7
Compare
c803eae
to
fc82d58
Compare
ee55e65
to
3a9ddac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like there is a decent amount of complexity added to this by supporting a variable array of style urls, and I kind of doubt somebody is going to use more than one anyway. Thoughts on just having map.darkStyleUrl
and map.lightStyleUrl
. They are always there and always required. No more optional chaining, filtering, etc. I think a lot of code becomes trivial with those assumptions. I also don't think we lose hardly anything by not allowing additional styles.
I agree, however pretty much all of the logic is already done (more or less), so why throw it away? I personally don't think the complexity is too high in comparison to the functionality it brings. |
812d054
to
4541f03
Compare
ee63506
to
a181286
Compare
c0f9bbc
to
b82f9d3
Compare
11ae622
to
4f4ddb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you mistakenly reverted the config array enhancements?
4f4ddb4
to
5e28194
Compare
5e28194
to
3d43396
Compare
Actually use new vector tile server, custom style.json support multiple style files, light/dark mode cleanup, use new map everywhere send file directly instead of loading first better light/dark mode switching remove leaflet fix mapstyles dto, first draft of map settings delete and add styles fix delete default styles fix tests only allow one light and one dark style url revert config core changes fix server config store fix tests move axios fetches to repo fix package-lock fix tests
@@ -1,6 +1,7 @@ | |||
{ | |||
"version": 8, | |||
"name": "Immich Map", | |||
"metadata": { "maputnik:renderer": "mbgljs" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this line in the prod style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say no but maybe Alex ran into issues without it.
9022b6b
to
c73e2d6
Compare
c73e2d6
to
86b5baa
Compare
I just updated main and it seems this causes that no map is shown. Is there any additional configuration step needed? |
There is a bug about it not working for non-admin users. Maybe you are running into that issue. |
I checked it under my admin account. |
@waclaw66 Is it possible that it just takes a long time to load and eventually it will show up? We're running into latency issues with the tiles server currently |
@danieldietzler it works now suddenly. |
👍🏼 Yeah then that it is likely to be the same latency issue. We're working on that, sorry! |
Didn't change anything, even when |
Don't mind this just yet. @jrasm91 and I are testing out maplibre.