Closed harry-wood closed 3 months ago
The issue is know and more complex, time by time, a concurrency issue in JS happen. It results of shifted vector tile display.
It due to hackish usage by Osmose of low support of vector tile on leaflet.
Osmose use Leaflet.VectorGrid https://github.com/Leaflet/Leaflet.VectorGrid
But Leaflet.VectorGrid does not support display outside of tile boundaries. Osmose do a hack on top of this to display Point of issue as non clipped marker.
Done with the switch to MapLibre.
There's an incorrect offset in the positioning of all the issue markers when the map is first opened. It resolves itself after zooming
For example this red marker is suppose to point directly at the "20" number on the map. After zooming it jumps to the right place.
The offset applies to all markers in the view, at all zoom-levels. The offset is always approx 35 pixels to the left and 35 pixels up, and this is the same pixel distance regardless of zoom level (perhaps something strange with leaflet "anchor" position handling)