19 references to Map
Microsoft.Maui.Controls.Maps (19)
AppHostBuilderExtensions.cs (2)
23
/// Configures <see cref="MauiAppBuilder"/> to add support for the <see cref="
Map
"/> control.
72
handlersCollection.AddHandler<
Map
, MapHandler>();
Map.cs (15)
19
public static readonly BindableProperty MapTypeProperty = BindableProperty.Create(nameof(MapType), typeof(MapType), typeof(
Map
), default(MapType));
22
public static readonly BindableProperty IsShowingUserProperty = BindableProperty.Create(nameof(IsShowingUser), typeof(bool), typeof(
Map
), default(bool));
25
public static readonly BindableProperty IsTrafficEnabledProperty = BindableProperty.Create(nameof(IsTrafficEnabled), typeof(bool), typeof(
Map
), default(bool));
28
public static readonly BindableProperty IsScrollEnabledProperty = BindableProperty.Create(nameof(IsScrollEnabled), typeof(bool), typeof(
Map
), true);
31
public static readonly BindableProperty IsZoomEnabledProperty = BindableProperty.Create(nameof(IsZoomEnabled), typeof(bool), typeof(
Map
), true);
34
public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(
Map
), default(IEnumerable),
35
propertyChanged: (b, o, n) => ((
Map
)b).OnItemsSourcePropertyChanged((IEnumerable)o, (IEnumerable)n));
38
public static readonly BindableProperty ItemTemplateProperty = BindableProperty.Create(nameof(ItemTemplate), typeof(DataTemplate), typeof(
Map
), default(DataTemplate),
39
propertyChanged: (b, o, n) => ((
Map
)b).OnItemTemplatePropertyChanged((DataTemplate)o, (DataTemplate)n));
42
public static readonly BindableProperty ItemTemplateSelectorProperty = BindableProperty.Create(nameof(ItemTemplateSelector), typeof(DataTemplateSelector), typeof(
Map
), default(DataTemplateSelector),
43
propertyChanged: (b, o, n) => ((
Map
)b).OnItemTemplateSelectorPropertyChanged());
51
/// Initializes a new instance of the <see cref="
Map
"/> class with a region.
66
/// Initializes a new instance of the <see cref="
Map
"/> class with a region.
288
$"The {nameof(
Map
)}.{ItemTemplateProperty.PropertyName} property only supports {nameof(DataTemplate)}." +
289
$" Set the {nameof(
Map
)}.{ItemTemplateSelectorProperty.PropertyName} property instead to use a {nameof(DataTemplateSelector)}");
MapElement.cs (1)
11
/// Represents an element which is visually drawn on the <see cref="
Map
"/> control.
Pin.cs (1)
9
/// Represents a pin on the <see cref="
Map
"/> control.