Adding an empty L.Polyline to a canvas rendered map causes errors #5497
Closed
Description
How to reproduce
- Leaflet version I'm using: 1.0.3
- Browser (with version) I'm using: Chrome 57
- OS/Platform (with version) I'm using: OS X 10.11
- Create
L.Polyline
with emptylatlngs
- Add that layer to an
L.Map
withpreferCanvas: true
What behaviour I'm expecting and which behaviour I'm seeing
Nothing should be displayed, but it should run without console errors.
Minimal example reproducing the issue
- this example is as simple as possible
- this example does not rely on any third party code
Metadata
Assignees
Labels
No labels