Hellow,
I'm very new to Leaflet.js and probably doing something wrong.
I'm using L.CRS.Simple to show a tiled image (non-geographical map). The L.control.scale shows the expected distance (2 m) but, mesure-path shows completed wrong values ( 119 km ! ).
Is it compatible with L.CRS.Simple ? Does mesure-path use the same approach L.control.scale uses to calculate distances?
Could you give me some tips on how to make mesure-path works correctly in this situation?
Thank You
Roberto
Hellow,
I'm very new to Leaflet.js and probably doing something wrong.
I'm using L.CRS.Simple to show a tiled image (non-geographical map). The L.control.scale shows the expected distance (2 m) but, mesure-path shows completed wrong values ( 119 km ! ).
Is it compatible with L.CRS.Simple ? Does mesure-path use the same approach L.control.scale uses to calculate distances?
Could you give me some tips on how to make mesure-path works correctly in this situation?
Thank You
Roberto