-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SearchInsideGeometryOptions.cs
30 lines (25 loc) · 1.73 KB
/
SearchInsideGeometryOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
using System.Collections.Generic;
namespace Azure.Maps.Search
{
/// <summary> Options. </summary>
public class SearchInsideGeometryOptions: SearchGeometryBaseOptions
{
/// <summary>
/// Indexes for which extended postal codes should be included in the results.
/// Please refer to <see cref="SearchIndex" /> for all the available search indexes
/// Value should be a comma separated list of index types (in any order) or <c>null</c> for no indexes.
/// By default extended postal codes are included for all indexes except Geo. Extended postal code lists for geographies can be quite long so they have to be explicitly requested when needed.
/// </summary>
public IEnumerable<SearchIndex> ExtendedPostalCodesFor { get; set; }
/// <summary>
/// Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.
/// Please refer to <see href="https://docs.microsoft.com/azure/azure-maps/supported-languages">Supported Languages</see> for details.
/// </summary>
public SearchLanguage Language { get; set; }
/// <summary> A comma separated list of indexes which should be utilized for the search. Item order does not matter. Available indexes are: Addr = Address range interpolation, Geo = Geographies, PAD = Point Addresses, POI = Points of interest, Str = Streets, Xstr = Cross Streets (intersections). </summary>
public IEnumerable<SearchIndex> IndexFilter { get; set; }
}
}