Table of Contents

Class Location

Namespace
GoogleMapsApi.Entities.Common
Assembly
GoogleMapsApi.dll
public class Location : ILocationString
Inheritance
Location
Implements
Inherited Members

Constructors

Location()

public Location()

Location(double, double)

public Location(double lat, double lng)

Parameters

lat double
lng double

Properties

Latitude

[JsonPropertyName("lat")]
public double Latitude { get; set; }

Property Value

double

LocationString

public string LocationString { get; }

Property Value

string

Longitude

[JsonPropertyName("lng")]
public double Longitude { get; set; }

Property Value

double

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.