KartaView photos seems broken #1509
Labels
bug-regression
It worked before but now it doesn't
feature-streetview
Issue or request related to the streetview viewer
Milestone
When enabling the KartaView photo layer, the requests fail with 400 Bad Request.
Looks like it is related to these lines:
Rapid/modules/services/KartaviewService.js
Lines 449 to 453 in 695d7f2
...because
currZoom
can be float and_maxPageAtZoom
expects integers.This means
maxPages
will end up 'false',Then the
(nextPage > maxPages)
comparison will fail,Then we'll try fetching page
Infinity
, triggering the bad request.The text was updated successfully, but these errors were encountered: