Hiking trails: the main checkbox loads the countries in view from zoom 10 (and those panned into), not all at once — together ~1 GB of GeoJSON the browser never finished; /api/hiking-trails also sends each country's bbox
This commit is contained in:
1 parent
477f68f5b3
commit
f0ff5f390f
5 files changed
+52
-20
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ class AppTest < Minitest::Test
|
||||
|
||||
def test_hiking_trails_reports_no_countries_when_none_extracted_yet
|
||||
response = request.get("/api/hiking-trails")
|
||||
assert_equal({ "countries" => [] }, json_body(response))
|
||||
assert_equal({ "countries" => [], "bboxes" => {} }, json_body(response))
|
||||
end
|
||||
|
||||
def test_hiking_trails_file_404s_for_a_country_with_no_extract
|
||||
|
||||
Reference in new issue
Block a user