Skip to content

Halfway markers error after read only toggle #8

Open
@oliverfields

Description

@oliverfields

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions