-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange Extra Lines Appearing meanwhile drawing #10
Comments
I am running into the same problem when using this plugin on maps using CRS.Simple. I suspect the behaviour comes from using L.LatLng#distanceTo in _addAngleLine instead of using the CRS-specific distance functions. I'll test this out someday and will eventually create a PR if it works. @stefanKuijers as a workaround, you can hide these lines by passing let pmOrtho = new L.PMOrtho(map, {
// Disabling tooltips fixes the display issue temporarily
showAngleTooltip: false
}); |
@strfx a PR would be nice! |
@Falke-Design : I understand, no worries. Focus on what you have to focus on :) @strfx That does sound great :D Cause in my case I can't go without tooltips. Thanks for already taking a look into this. |
First of all, great job on the plugin! It has great potential!
Sadly it seems it's currently breaking at multiple places. But the most prevalent is that when you start drawing a new shape additional lines are shown while after drawing the second vertex.
Besides that I found the following issues:
Uncaught TypeError: this.findDeepMarkerIndex is not a function
. Moving the shape however is fine.My main question would be: is there any chance you can take a look at it? That would be awesome.
Info:
NPM packages
Setup:
Could it have something to do with that I have an L.CRS.Simple type map?
Or maybe I'm doing something else wrong.
Thanks in advance!
The text was updated successfully, but these errors were encountered: