Class Marker
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:GoogleMaps.Markers
Assembly:GoogleMaps.dll
Syntax
public class Marker : MarkerOptions, IScriptDescriptorData
Properties
Address
The address to geocode and set the initial marker position.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String | The address. |
AutoOpen
Declaration
public bool AutoOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Info
The text content to show in marker's InfoWindow.
Declaration
public string Info { get; set; }
Property Value
Type | Description |
---|---|
System.String | The info. |
InfoWindowContent
Declaration
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public virtual ITemplate InfoWindowContent { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.ITemplate |
Label
These specify the appearance of a marker label. A marker label is a single character of text which will appear inside the marker.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public MarkerLabel Label { get; set; }
Property Value
Type | Description |
---|---|
MarkerLabel |
LabelText
A single character of text which will appear inside the marker.
Declaration
public string LabelText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ZoomLevel
The zoom level that is used by Marker Manager to control the visibility level of the marker.
Declaration
public int ? ZoomLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
ToScriptData()
Returns the instance as a script data.
Declaration
public override IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |