Skip to content

Route without result crashes app #74

@dbahrdt

Description

@dbahrdt

If we enter a route with empty result, then we get a JS exception

leaflet-src.js:6449 Uncaught TypeError: Cannot read property '_layerAdd' of undefined
    at NewClass.addLayer (leaflet-src.js:6449)
    at Object.updateSpatialQueryMapShape (query.js:153)
    at NewClass.spatialQueryOnClick (query.js:26)
    at NewClass.fire (leaflet-src.js:588)
    at NewClass._fireDOMEvent (leaflet-src.js:4272)
    at NewClass._handleDOMEvent (leaflet-src.js:4229)
    at HTMLDivElement.handler (leaflet-src.js:2231)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions