Description
Hello.
I query OSM Nominatim API via JSONP callback. Few months ago it stopped working -- whenever I try to search something, the following error is thrown:
Uncaught TypeError: L.Control.Search.callJsonp is not a function
After some investigation it turns out that recent versions call _retrieveData
directly instead of using this._retrieveData.call(...)
, as it was before. So instead of 2 arguments (inputText and callback) the function is called with three, so inputText = this
and callback = inputText
.
Metadata
Metadata
Assignees
Labels
No labels