Skip to content

Halfway markers error after read only toggle #8

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

Open
oliverfields opened this issue Sep 11, 2019 · 0 comments
Open

Halfway markers error after read only toggle #8

oliverfields opened this issue Sep 11, 2019 · 0 comments

Comments

@oliverfields
Copy link

Hi,

Great plugin!

I get an error when toggling read only and clicking on the halfway markers.

Reproduce:

  1. Go http://scripter-co.github.io/leaflet-plotter/
  2. Click Toggle Readonly twice
  3. Click a halfway marker (the semi transparent ones)

Expected new marker to be created, but nothing happens.

My console reads:
TypeError: i is undefined
_removePoint http://scripter-co.github.io/leaflet-plotter/src/leaflet.plotter.js:85

Using Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant