Show / Hide Table of Contents

Class DrawingControlOptions

Defines the position of the control, and the types of overlays that should be represented in DrawingManager

Inheritance
System.Object
DrawingControlOptions
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.Drawing
Assembly:GoogleMaps.dll
Syntax
public class DrawingControlOptions : IScriptDescriptorData

Properties

DrawingModes

Defines the overlay types to include in the drawing control shape picker. The hand icon will always be present, allowing the user to interact with the map without drawing. The order of the tools in the control will match the order in which they are declared in the array.

Declaration
[TypeConverter(typeof (DrawingOverlayTypeArrayConverter))]
public DrawingOverlayType[] DrawingModes { get; set; }
Property Value
Type Description
DrawingOverlayType[]

Position

Defines the position of the drawing control on the map.

Declaration
public ControlPosition Position { get; set; }
Property Value
Type Description
ControlPosition

Methods

ToScriptData()

Converts the object to dictionary - script description data.

Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>
Implements
IScriptDescriptorData.ToScriptData()
Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX