diff --git a/POI/categories.go b/POI/categories.go index b119c23d..7d035c4a 100644 --- a/POI/categories.go +++ b/POI/categories.go @@ -205,7 +205,12 @@ func GetPlaceTypes(placeCat PlaceCategory) (placeTypes []LocationType) { switch placeCat { case PlaceCategoryVisit: placeTypes = append(placeTypes, - []LocationType{LocationTypePark, LocationTypeAmusementPark, LocationTypeGallery, LocationTypeMuseum}...) + []LocationType{ + LocationTypePark, LocationTypeAmusementPark, LocationTypeGallery, LocationTypeMuseum, + LocationTypeMovieTheater, LocationTypeBowlingAlley, + LocationTypeZoo, LocationTypeAquarium, + LocationTypeStadium, LocationTypeTouristAttraction, + }...) case PlaceCategoryEatery: placeTypes = append(placeTypes, []LocationType{LocationTypeCafe, LocationTypeRestaurant, LocationTypeBar, LocationTypeBakery, LocationTypeMealTakeaway}...) diff --git a/test/place_category_test.go b/test/place_category_test.go index f765f6fc..fface6c4 100644 --- a/test/place_category_test.go +++ b/test/place_category_test.go @@ -13,6 +13,9 @@ func TestGetPlaceTypesByCategory(t *testing.T) { POI.PlaceCategoryVisit: { POI.LocationTypePark, POI.LocationTypeAmusementPark, POI.LocationTypeGallery, POI.LocationTypeMuseum, + POI.LocationTypeMovieTheater, POI.LocationTypeBowlingAlley, + POI.LocationTypeZoo, POI.LocationTypeAquarium, + POI.LocationTypeStadium, POI.LocationTypeTouristAttraction, }, POI.PlaceCategoryEatery: { POI.LocationTypeCafe, POI.LocationTypeRestaurant,