You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* By default, suggestions return types `locality` and `postal_code`.
2991
-
* can be either a single type or a list of `LocalitiesTypes`
2992
-
* see [https://developers.woosmap.com/products/localities/autocomplete/#types](https://developers.woosmap.com/products/localities/autocomplete/#types)
3003
+
* can be either a single type or a list of `LocalitiesTypes|LocalitiesTypesPoi|LocalitiesTypesPoiAlias`
3004
+
* see [https://developers.woosmap.com/products/localities/concepts/locality-types/](https://developers.woosmap.com/products/localities/concepts/locality-types/)
* The types of geocoding responses to be returned.
3043
3060
* By default, suggestions return types `locality`, `postal_code` and `address`
3044
-
* can be either a single type or a list of `LocalitiesTypes`
3045
-
* see [https://developers.woosmap.com/products/localities/geocode/#types](https://developers.woosmap.com/products/localities/geocode/#types)
3061
+
* can be either a single type or a list of `LocalitiesTypes|LocalitiesTypesPoi|LocalitiesTypesPoiAlias`
3062
+
* see [https://developers.woosmap.com/products/localities/concepts/locality-types/](https://developers.woosmap.com/products/localities/concepts/locality-types/)
* The only available value for now is `point_of_interest`.
3125
+
* POI types to include (pipe-separated).
3126
+
* Example: `business.shop|medical.pharmacy|bank`.
3127
+
* To check common POI types refer [https://developers.woosmap.com/products/localities/features/nearby/#common-poi-types](https://developers.woosmap.com/products/localities/features/nearby/#common-poi-types)
3110
3128
*/
3111
-
types?: string|string[];
3129
+
types: string|string[];
3112
3130
}
3113
3131
}
3114
3132
declarenamespacewoosmap.map.localities{
3115
-
/**
3116
-
* A Localities Search request to be sent to `LocalitiesService.search`
3117
-
*/
3118
3133
interfaceLocalitiesSearchRequest{
3119
3134
/**
3120
3135
* The categories of points of interest to return. Multiple categories can be passed as an array of comma separated strings.
* An array containing the categories of the result, only for points of interests.
3250
+
* Only available for admin_level suggestions, this contains the local english name of the administration level ("department" for France or "federal_state" for Germany).
3236
3251
*/
3237
-
categories?: string[];
3252
+
administrative_area_label?: string;
3238
3253
/**
3239
3254
* Contains the readable text description of the result.
* For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode’s result.
* Only available for admin_level suggestions, this contains the local english name of the administration level ("department" for France or "federal_state" for Germany).
3375
+
*/
3376
+
administrative_area_label?: string;
3377
+
/**
3378
+
* When reverse geocoding, this field represents the distance (in meters) to the requested latlng
3379
+
*/
3380
+
distance?: number;
3339
3381
/**
3340
3382
* Contains the readable text description of the result.
* For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode’s result.
* By default, suggestions return types `locality` and `postal_code`.
3370
3432
* Check [full list of supported types](https://developers.woosmap.com/products/localities/autocomplete/#types)
3371
3433
*/
3372
3434
typeLocalitiesTypes=
3435
+
|woosmap.map.localities.DeprecatedLocalitiesTypes
3436
+
|"country"
3437
+
|"admin_level"
3438
+
|"postal_code"
3373
3439
|"address"
3440
+
|"route"
3374
3441
|"locality"
3375
-
|"admin_level"
3442
+
|"city"
3443
+
|"town"
3444
+
|"village"
3445
+
|"hamlet"
3446
+
|"borough"
3447
+
|"suburb"
3448
+
|"quarter"
3449
+
|"neighbourhood";
3450
+
}
3451
+
declarenamespacewoosmap.map.localities{
3452
+
/**
3453
+
* Categories of points of interest (POI) supported for detailed classification in geographic data queries.
3454
+
* Refer [supported POI types][https://developers.woosmap.com/products/localities/concepts/locality-types/#point-of-interest-types](https://developers.woosmap.com/products/localities/concepts/locality-types/#point-of-interest-types)
0 commit comments