directly do country search for reverse zoom < 5

Fixes #1145.
This commit is contained in:
Sarah Hoffmann
2018-08-20 22:07:37 +02:00
parent 3af8dc9580
commit de8888ec58
2 changed files with 48 additions and 27 deletions

View File

@@ -59,3 +59,19 @@ Feature: Reverse geocoding
Then results contain
| display_name |
| Tacuarembó, Uruguay |
Scenario Outline: Zoom levels below 5 result in country
When sending jsonv2 reverse coordinates -33.28,-56.29
| zoom |
| <zoom> |
Then results contain
| display_name |
| Uruguay |
Examples:
| zoom |
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |