Skip to content

JS error on map.remove in IE7 #2015

@vmeurisse

Description

@vmeurisse

When calling L.map.remove on a map instance in IE7, the browser throw an error Object doesn't support this action on map/Map.js:319.

Replacing delete this._container._leaflet; by this._container._leaflet = undefined; fixes the issue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions