Merge pull request #3010 from lonvia/adapt-zoom-for-reverse

Minor adjustments to reverse zoom translation
This commit is contained in:
Sarah Hoffmann
2023-03-21 08:56:25 +01:00
committed by GitHub
2 changed files with 8 additions and 5 deletions

View File

@@ -92,7 +92,10 @@ In terms of address details the zoom levels are as follows:
5 | state
8 | county
10 | city
14 | suburb
12 | town / borough
13 | village / suburb
14 | neighbourhood
15 | locality
16 | major streets
17 | major and minor streets
18 | building

View File

@@ -40,10 +40,10 @@ class ReverseGeocode
9 => 12,
10 => 17, // City
11 => 17,
12 => 18, // Town / Village
13 => 18,
14 => 22, // Suburb
15 => 22,
12 => 18, // Town
13 => 19, // Village
14 => 22, // Neighbourhood
15 => 25, // Locality
16 => 26, // major street
17 => 27, // minor street
18 => 30, // or >, Building