Skip to main content

MapMarkerBuilder Members

Represents a Map marker.

Constructors

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

Methods

Name Description
Address(JS)
Address(String) Specifies the marker location. Mirrors the client-side location option.
Coordinates(Double, Double) Specifies the marker location. Mirrors the client-side location option.
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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IconSrc(JS) A URL pointing to the custom icon to be used for the marker. Mirrors the client-side iconSrc option.
IconSrc(String) A URL pointing to the custom icon to be used for the marker. Mirrors the client-side iconSrc option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnClick(RazorBlock) A callback function performed when the marker is clicked. Mirrors the client-side onClick option.
OnClick(String) A callback function performed when the marker is clicked. Mirrors the client-side onClick option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Tooltip(JS) A tooltip to be used for the marker. Mirrors the client-side tooltip option.
Tooltip(Action<MapMarkersTooltipBuilder>) A tooltip to be used for the marker. Mirrors the client-side tooltip object.
Tooltip(String) A tooltip to be used for the marker. Mirrors the client-side tooltip option.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also