Show / Hide Table of Contents

Class MarkerLabel

These options specify the appearance of a marker label. A marker label is a single character of text which will appear inside the marker. If you are using it with a custom marker, you can reposition it with the labelOrigin property in the Icon class.

Inheritance
System.Object
MarkerLabel
Inherited Members
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 MarkerLabel : IScriptDescriptorData

Properties

Color

The color of the label text. Default color is black.

Declaration
public string Color { get; set; }
Property Value
Type Description
System.String

FontFamily

The font family of the label text (equivalent to the CSS font-family property).

Declaration
public string FontFamily { get; set; }
Property Value
Type Description
System.String

FontSize

The font size of the label text (equivalent to the CSS font-size property). Default size is 14px.S

Declaration
public string FontSize { get; set; }
Property Value
Type Description
System.String

FontWeight

The font weight of the label text (equivalent to the CSS font-weight property).

Declaration
public string FontWeight { get; set; }
Property Value
Type Description
System.String

Text

The text to be displayed in the label.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

Methods

ToScriptData()

Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>
Implements
IScriptDescriptorData.ToScriptData()

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX