Closed TilBlechschmidt closed 2 years ago
Should be easily possible by adding a secondary (normally hidden) layer containing ranges for each location and then using the code from this Mapbox GL example. However, we probably need two layers — one as the pointer-target (basically boxes around each location), and one as the visual hover effect. The former layer could neatly serve as a replacement for the currently rather hacky location click-logic.
Maybe by giving the closest locations range under the cursor an outline stroke.