Skip to content
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

Route without result crashes app #74

Open
dbahrdt opened this issue Nov 4, 2020 · 0 comments
Open

Route without result crashes app #74

dbahrdt opened this issue Nov 4, 2020 · 0 comments
Assignees
Labels

Comments

@dbahrdt
Copy link
Member

dbahrdt commented Nov 4, 2020

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)
@dbahrdt dbahrdt added the bug label Nov 4, 2020
@dbahrdt dbahrdt self-assigned this Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant