[gnome-maps] photonParser: Treat hamlet as type town



commit 388bfed5cb34f1abe3210200ac47ca31c18ff7f8
Author: Marcus Lundblad <ml update uu se>
Date:   Fri Jul 12 15:07:59 2019 +0200

    photonParser: Treat hamlet as type town
    
    Treat place=hamlet as Geocode type town.

 src/photonParser.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/photonParser.js b/src/photonParser.js
index 1edd3f6..3c3a78b 100644
--- a/src/photonParser.js
+++ b/src/photonParser.js
@@ -134,6 +134,7 @@ function _parsePlaceType(properties) {
                 case 'city':
                 case 'town':
                 case 'village':
+                case 'hamlet':
                     return Geocode.PlaceType.TOWN;
                 case 'suburb':
                     return Geocode.PlaceType.SUBURB;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]