I've been playing around with Tumult Hype on my phone a lot recently, and I’m hitting a bit of a wall when it comes to creating a smooth, mobile-friendly experience for something that should be simple: line maps.
So, here's my dilemma. I love using Hype for interactive stuff, especially for things that can be easily adapted to mobile, but when it comes to displaying maps with lines (like for routes or connections), it’s just not working the way I expect on smaller screens. Has anyone else noticed how tricky it can be to make these kinds of elements both responsive and usable on a phone? The lines either end up too thin and barely visible, or they overlap awkwardly when zoomed out, which makes the map hard to navigate.
I’ve been experimenting with adjusting the stroke width and the placement of elements, but there’s always something that feels off in the way it scales. When I pinch to zoom, the map tends to jump around and becomes a bit unresponsive. It’s like, instead of smooth zooming, it gets jittery, which isn’t ideal. And yes, I’ve tried locking the zoom levels, but that just makes the user experience more limited. I want to keep it flexible and fluid but still easy to use.
One thing that’s inspired me positively, though, is the idea of using line maps that dynamically adjust based on screen size. Line maps, in general, are a simple yet powerful way to represent routes or connections visually, allowing users to draw straight lines and measure distance on maps . It’s a great tool for navigating or understanding geographical relationships without the clutter of excessive details. I saw it work beautifully in another context (not using Hype), and it got me thinking, why can’t I achieve this here? It’s all about balancing the simplicity of the map with a smooth user experience. I feel like there’s a solution somewhere, but I just can’t seem to get it right.
I’m wondering, is it better to keep the map fixed and not allow zooming at all, or should I aim for some sort of hybrid approach where certain elements (like the lines) resize independently of the map’s zoom level? Also, if anyone’s had any luck working with SVG lines inside Tumult Hype for mobile, I'd love to hear how you managed it! I’m sure I’m missing something obvious, but I’m stuck in a bit of a loop trying to figure out the best approach.
If anyone’s got tips, tricks, or even a new way of looking at this, I’d be so grateful.