4 ms·
Very cool, love the various tile sets (especially the 3d layer!) One thing that tripped me up is the zoom -- the affordance for zoom in/out across most other m
by btbuildem 2y ago
Very cool, love the various tile sets (especially the 3d layer!)
One thing that tripped me up is the zoom -- the affordance for zoom in/out across most other mapping UIs is via mouse motions -- how come in your demo it's restricted to the +/- buttons? Perhaps I missed something...
Thanks for sharing this, looks very neat.
- mholt 2y agoThat's something that most tile viewers let you customize in the code. Sometimes you want to disable scroll wheel zoom so as to not interrupt page scrolling, like when the map takes up a large portion of the width of the page.
- hyperknot 2y agoOn the main page I disabled scroll zoom, because it hijacks your scroll and literally you cannot scroll through the map. It makes sense for full-screen maps only. Of course, you have 100% control over exactly what controls you configure with MapLibre, when you set up your app.
- btbuildem 2y agoAh nice, of course it's configurable :)