Layer index
Integrate the layer index.
When adding a new layer a dialog opens where the user can select a layer:
In the next step the user is presented with some details like the description of the layer, here they also need to specify some parts of the url:
Todo:
- [ ] Allow for overlays (Probably in a follow up pr)
- [x] There is a
bestattribute to a layer to indicate if it is the best source for an area, maybe show these with a star icon in the selector - [x] Max/Min Zoom
- [x] Geographic limitations
- [x] Attributions
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| osmapp | ✅ Ready (Inspect) | Visit Preview | Sep 4, 2024 4:29pm |
Actually the idea for the layer index is yours. (See issue #232)
@Dlurak is attempting to deploy a commit to the OsmAPP Team Team on Vercel.
A member of the Team first needs to authorize it.
While playing around with different layers I noticed this bug:
The Northern German west coast tidalflats (infared) layer has this url: https://imagico.de/map/osmim_tiles.php?layer=LC81960222015233LGN00ir&z={z}&x={x}&y={-y}. It seems like {-y} is not supported. Any idea how we could deal with this problem?
@zbycz I think it should be fine now
The
Northern German west coast tidalflats (infared)layer has this url:https://imagico.de/map/osmim_tiles.php?layer=LC81960222015233LGN00ir&z={z}&x={x}&y={-y}. It seems like{-y}is not supported. Any idea how we could deal with this problem?
@dlurak I think we should show warning in such cases and not allow the user to save the layer.
Another problem that just occurred to me: The user may have custom layers in local storage that aren't compatible with the new system from this PR. I guess the simplest and safest solution would be to simply use a different key for local storage. What do you think?
@zbycz I think it should be fine now
Yo! Thats a pretty good job on everything. 👍 🥇 💯
Merging right now! I am so happy to have this finished. I already heard some complains about outdated layers in OsmAPP on the OSM Discord, this will probably make many people happy. 🙂