When I try to get the restaurants within an rectangle I get the result:
error: SyntaxError: Unexpected token ‘N’, …" “bbox”: [NaN, NaN, "… is not valid JSON at JSON.parse () at XMLHttpRequest.onLoad (http://localhost:4200/vendor.js:134001:39) at _ZoneDelegate.invokeTask (http://localhost:4200/polyfills.js:7691:171) at http://localhost:4200/vendor.js:158243:49 at AsyncStackTaggingZoneSpec.onInvokeTask (http://localhost:4200/vendor.js:158243:30) at _ZoneDelegate.invokeTask (http://localhost:4200/polyfills.js:7691:54) at Object.onInvokeTask (http://localhost:4200/vendor.js:158545:25) at _ZoneDelegate.invokeTask (http://localhost:4200/polyfills.js:7691:54) at Zone.runTask (http://localhost:4200/polyfills.js:7496:37) at ZoneTask.invokeTask [as invoke] (http://localhost:4200/polyfills.js:7768:26)
- text: “{\“type\”: \“FeatureCollection\”, \“bbox\”: [NaN, NaN, NaN, NaN], \“features\”: [], \“information\”: {\“attribution\”: \”\\u00a9 openpoiservice by HeiGIT | Data from OpenStreetMap\“, \“version\”: \“0.1\”, \“timestamp\”: 1790874189, \“query\”: {\“request\”: \“pois\”, \“geometry\”: {\“bbox\”: [[15.393886628184239, 47.02095077521119], [15.40316566752611, 47.03111486335783]]}, \“limit\”: 200, \“filters\”: {\“category_ids\”: [570]}}}}”
That causes an JSON-Conversion-Error!
There should be some restaurants within the rectangle!
The method worked fine during last time!
What can I do?
Thank’s Gerhard Rock