Show / Hide Table of Contents

Class Location

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

Constructors

Location()

Initializes a new instance of the Point class.

Declaration
public Location()

Location(Location)

Initializes a new instance of the Point struct.

Declaration
public Location(Location source)
Parameters
Type Name Description
Location source

The source.

Location(LatLng)

Initializes a new instance of the Location class.

Declaration
public Location(LatLng point)
Parameters
Type Name Description
LatLng point

The point.

Location(Double, Double)

Initializes a new instance of the Point struct.

Declaration
public Location(double lat, double lng)
Parameters
Type Name Description
System.Double lat

The lat.

System.Double lng

The LNG.

Location(String)

Initializes a new instance of the Location class.

Declaration
public Location(string address)
Parameters
Type Name Description
System.String address

The address.

Properties

Address

Gets or sets the address.

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

The address.

Point

Gets or sets the point.

Declaration
public LatLng Point { get; set; }
Property Value
Type Description
LatLng

The point.

Value

Gets the value.

Declaration
public object Value { get; }
Property Value
Type Description
System.Object

The value.

Methods

FromScriptData(Object)

Froms the script data.

Declaration
public static Location FromScriptData(object scriptObject)
Parameters
Type Name Description
System.Object scriptObject

The script object.

Returns
Type Description
Location

Parse(String)

Parses the specified pair.

Declaration
public static Location Parse(string point)
Parameters
Type Name Description
System.String point

The point.

Returns
Type Description
Location

ToScriptData()

Returns the instance as a script data.

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

ToString()

Returns a System.String that represents the current System.Object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current System.Object.

Overrides
System.Object.ToString()
Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX