minor adjustment to reverse zoom translation

Add a 'village' zoom level at 13 between town and neighbourhood
and a all locality-like objects for zoom 15. These zoom levels had
the same behaviour as the lower level so far. However, the distinction
for village and locality may be useful at times.
This commit is contained in:
Sarah Hoffmann
2023-03-20 20:47:42 +01:00
parent a8bedb6ab9
commit 5e5cff897f
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 5 | state
8 | county 8 | county
10 | city 10 | city
14 | suburb 12 | town / borough
13 | village / suburb
14 | neighbourhood
15 | locality
16 | major streets 16 | major streets
17 | major and minor streets 17 | major and minor streets
18 | building 18 | building

View File

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