You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a hard time getting the API to work properly, and also understanding which components I actually need. I changed the layers URL in the demo to work with our maps. This works. I also changed the API URL to our installation, but it will only show search results.
Suggest queries don't return anything
reverse actually returns an error TypeError: Cannot read property 'geometry' of undefined at demo.js:145 at angular.js:8598 at angular.js:12234 at k.$eval (angular.js:13436) at k.$digest (angular.js:13248) at k.$apply (angular.js:13540) at q (angular.js:8884) at u (angular.js:9099) at XMLHttpRequest.E.onreadystatechange (angular.js:9038)angular.js:10683 (anonymous function)angular.js:7858 (anonymous function)angular.js:12242 (anonymous function)angular.js:13436 k.$evalangular.js:13248 k.$digestangular.js:13540 k.$applyangular.js:8884 qangular.js:9099 uangular.js:9038 E.onreadystatechange
Hey @loomsen! Is there a public facing link to your demo (with the changed URL layers parameters) that I can check out? My suspicion for why /suggest is not working is because maybe no geobias (lat and lon or bbox) is passed in the URL as parameters. /suggest required lat/lon for now as documented here
/reverse is failing because either the demo is not making a successful API call with the required params (lat, lon) or the API returns no results or results with incorrect geometry and this can happen sometimes if you pass lat for lon and vice-versa.
Do let me know if you still facing problems and I'll be glad to help you :)
hey @hkrishna, thank you for your comment. Actually, I just set up a test instance for you, where everything is working as expected o.O I guess I must have made a mistake in our development environment, I'll go through the process again.
I'm having a hard time getting the API to work properly, and also understanding which components I actually need. I changed the layers URL in the demo to work with our maps. This works. I also changed the API URL to our installation, but it will only show search results.
Suggest queries don't return anything
reverse actually returns an error
TypeError: Cannot read property 'geometry' of undefined at demo.js:145 at angular.js:8598 at angular.js:12234 at k.$eval (angular.js:13436) at k.$digest (angular.js:13248) at k.$apply (angular.js:13540) at q (angular.js:8884) at u (angular.js:9099) at XMLHttpRequest.E.onreadystatechange (angular.js:9038)angular.js:10683 (anonymous function)angular.js:7858 (anonymous function)angular.js:12242 (anonymous function)angular.js:13436 k.$evalangular.js:13248 k.$digestangular.js:13540 k.$applyangular.js:8884 qangular.js:9099 uangular.js:9038 E.onreadystatechange
This is from a search query:
Using the vagrant image is not an option for me, I need to integrate this into our infrastructure properly.
Any pointers what I could be missing?
The text was updated successfully, but these errors were encountered: