LatLng is a point in geographical coordinates, latitude and longitude.
Notice that although usual map projections associate longitude with the x-coordinate of the map, and latitude with the y-coordinate, the latitude coordinate is always written first, followed by the longitude.
Notice also that you cannot modify the coordinates of a LatLng. If you want to compute another point, you have to create a new one.

C# | Visual Basic |
public class LatLng : IScriptDataConverter
Public Class LatLng _ Implements IScriptDataConverter

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | LatLng()()()() |
Initializes a new instance of the Point class.
|
![]() | LatLng(Double, Double) |
Initializes a new instance of the Point struct.
|
![]() | LatLng(LatLng) |
Initializes a new instance of the Point struct.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromScriptData(Object) |
Retrieves an instance from script data.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(String to LatLng) |
Performs an implicit conversion from String to LatLng.
|
![]() | Latitude |
Gets or sets the latitude in degrees.
|
![]() | Longitude |
Gets or sets the longitude in degrees.
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Parse(String) |
Parses the specified pair.
|
![]() | ToScriptData()()()() |
Returns the instance as a script data.
|
![]() | ToString()()()() | (Overrides Object.ToString()()()().) |

Object | |
![]() | LatLng |