Comment by ygra
5 years ago
Considering they're circles on a Mercator projection, they can't be the actual range, or at least they'd be off in at least one direction.
5 years ago
Considering they're circles on a Mercator projection, they can't be the actual range, or at least they'd be off in at least one direction.
Yes, but they're relatively small so circles are not too bad as an approximation.
The Leaflet.Geodesic plugin can render (polygonal approximations to) geodesic circles correctly. Based on playing around with this demo [1] (drag the central marker to reposition, and drag the outer marker to resize), I don't think the deviation from circles would really be noticeable for most of the lights.
(Edit: some lights may only be illuminated in a particular sector, and there may obstacles blocking the view in some directions - arguably both of these are far more significant problems with the use of circles as markers)
[1]: https://blog.cyclemap.link/Leaflet.Geodesic/circle-interacti...