Closed nateirwin closed 6 years ago
Can you do zoom-dependent widths in the builder renderer? I find it really handy in GL maps that increase path width as you zoom in. Just an idea, dunno if it's possible in builder maps.
Yeah, think we can add zoom-dependent widths pretty easily. May work better than a "buffer".
After discussing with @ryanjhodge, I think we want to support both a "buffer" and zoom-dependent rendering. I've separated the zoom-dependent rendering to a new issue: https://github.com/trailheadlabs/outerspatial-map-library/issues/133.
This is working well on staging — much better!
I did a quick test on a staging map, so much better. On mobile in particular.
We started to work on something like this while I was at NPS but never finished our solution. Basically, the problem is that some vector features overlaid on the map are difficult to interact with because the clickable radius around, say, a line often isn't large enough. This issue is especially noticeable on mobile devices.
One obvious solution is to bump up the width of a line. This isn't always ideal, though, because this means the line's width has to get bumped up as well. We should think about this and either: