Closed Fank closed 3 years ago
@indig0fox it was the case for a short time during your marker changes, but it was back to default at the end. Any reason?
line 253 here https://www.github.com/OCAP2/web/tree/main/static%2Fscripts%2Focap.js is the custom zoom event handler I had mentioned previously. using it rather than the default leaflet zoom makes it a little snappier and I think other than the focus, is a better option. it might be possible to change the actual command to zoom at the cursor location as focus.
Currently the zoom is always center of the screen. Its more handy if the zoom target is below the cursor.