mirror of
https://github.com/tiennm99/vngeoguessr.git
synced 2026-10-16 00:15:39 +00:00
fix(mapillary): bump sub-bbox area to 0.001 sq deg (~3km) for better pano coverage
This commit is contained in:
1 parent
e47b7fe28b
commit
5c4bf4d609
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
// Mapillary returns 500 'reduce data' / 'unknown error' on dense urban bboxes,
|
||||
// so we keep each query small (~1km square) and rely on the retry loop to
|
||||
// re-roll a new random sub-bbox if one query fails or returns empty.
|
||||
const MAX_BBOX_AREA = 0.0001;
|
||||
const MAX_BBOX_AREA = 0.001;
|
||||
|
||||
// Pick a random sub-bbox within the city bbox that fits Mapillary's area limit.
|
||||
function getRandomSubBbox(bbox) {
|
||||
|
||||
Reference in new issue
Block a user