Skip to main content

MapBuilder Members

A Map control.

Constructors

Name Description
MapBuilder(OptionsOwnerContext) For internal use only. Initializes a new MapBuilder class instance.

Methods

Name Description
AccessKey(JS) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
AccessKey(String) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
ActiveStateEnabled(JS) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
ActiveStateEnabled(Boolean) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
ApiKey(JS) Keys to authenticate the component within map providers. Mirrors the client-side apiKey option.
ApiKey(Action<MapApiKeyBuilder>) Keys to authenticate the component within map providers. Mirrors the client-side apiKey option.
ApiKey(String) Keys to authenticate the component within map providers. Mirrors the client-side apiKey option.
AutoAdjust(JS) Specifies whether the UI component automatically adjusts center and zoom property values when adding a new marker or route, or if a new UI component contains markers or routes by default. Mirrors the client-side autoAdjust option.
AutoAdjust(Boolean) Specifies whether the UI component automatically adjusts center and zoom property values when adding a new marker or route, or if a new UI component contains markers or routes by default. Mirrors the client-side autoAdjust option.
Center(JS) An object, a string, or an array specifying which part of the map is displayed at the UI component's center using coordinates. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side center option.
Center(Double, Double) Mirrors the client-side center option.
Center(String) An object, a string, or an array specifying which part of the map is displayed at the UI component's center using coordinates. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side center option.
Controls(JS) Specifies whether or not map UI component controls are available. Mirrors the client-side controls option.
Controls(Boolean) Specifies whether or not map UI component controls are available. Mirrors the client-side controls option.
Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FocusStateEnabled(JS) Mirrors the client-side focusStateEnabled option.
FocusStateEnabled(Boolean) Mirrors the client-side focusStateEnabled option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Height(JS) Mirrors the client-side height option.
Height(Double) Mirrors the client-side height option.
Height(String) Mirrors the client-side height option.
Hint(JS) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
Hint(String) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
HoverStateEnabled(JS) Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option.
HoverStateEnabled(Boolean) Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
MarkerIconSrc(JS) A URL pointing to the custom icon to be used for map markers. Mirrors the client-side markerIconSrc option.
MarkerIconSrc(String) A URL pointing to the custom icon to be used for map markers. Mirrors the client-side markerIconSrc option.
Markers(Action<CollectionFactory<MapMarkerBuilder>>) Provides access to the client-side markers option that represents a Map marker collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnClick(RazorBlock) A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.
OnClick(String) A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.
OnDisposing(RazorBlock) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDisposing(String) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnMarkerAdded(RazorBlock) A function that is executed when a marker is created on the map. Mirrors the client-side onMarkerAdded option.
OnMarkerAdded(String) A function that is executed when a marker is created on the map. Mirrors the client-side onMarkerAdded option.
OnMarkerRemoved(RazorBlock) A function that is executed when a marker is removed from the map. Mirrors the client-side onMarkerRemoved option.
OnMarkerRemoved(String) A function that is executed when a marker is removed from the map. Mirrors the client-side onMarkerRemoved option.
OnOptionChanged(RazorBlock) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnReady(RazorBlock) A function that is executed when the map is ready. Mirrors the client-side onReady option.
OnReady(String) A function that is executed when the map is ready. Mirrors the client-side onReady option.
OnRouteAdded(RazorBlock) A function that is executed when a route is created on the map. Mirrors the client-side onRouteAdded option.
OnRouteAdded(String) A function that is executed when a route is created on the map. Mirrors the client-side onRouteAdded option.
OnRouteRemoved(RazorBlock) A function that is executed when a route is removed from the map. Mirrors the client-side onRouteRemoved option.
OnRouteRemoved(String) A function that is executed when a route is removed from the map. Mirrors the client-side onRouteRemoved option.
Option(String, Object) Specifies an option by its name.
Provider(GeoMapProvider) The name of the current map data provider. Mirrors the client-side provider option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
Routes(Action<CollectionFactory<MapRouteBuilder>>) Provides access to the client-side routes option that represents a Map route collection.
RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
TabIndex(JS) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
TabIndex(Int32) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Type(GeoMapType) The type of a map to display. Mirrors the client-side type option.
Visible(JS) Specifies whether the UI component is visible. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether the UI component is visible. Mirrors the client-side visible option.
Width(JS) Mirrors the client-side width option.
Width(Double) Mirrors the client-side width option.
Width(String) Mirrors the client-side width option.
Zoom(JS) The map's zoom level. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side zoom option.
Zoom(Double) The map's zoom level. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side zoom option.
See Also