Comment by zenmac

Comment by zenmac 6 days ago

4 replies

Great tool! There is a little issue with the +/- zoom buttons not working something cause it is over layed by other div blocks. On mac firefox.

Is the code open source online somewhere?

gnyman 6 days ago

thanks for the info, I'll see if I can get a agent to fix it

it's a static webpage, the source is available with right-click view source, I added a BSD2 licence header to it to make clear it's fine to take and do mostly whatever with

  • zenmac 6 days ago

    Yeah just would be good on a codeberg or gitlab or maybe even github repo. So we can do PR.

    Here is the fix:

    .leaflet-top, .leaflet-left{ z-index: 100000; /* some high number */ }

    • gnyman 6 days ago

      hmm, I tried it on firefox and it works for me, and for me .leaflet-top already has a high z-index: 1000;

      although I run 140.6.0esr so maybe newer ones need a even higher one?

      the code is on GH now https://github.com/gnyman/mapdraw , codeberg is on my todo

      • Kailhus 6 days ago

        Could try the hacky 2147483647 max z-index. No issue on android firefox