Page Summary
-
Locationis an abstract class representing a single instance of a geographic location. -
It has two known direct subclasses:
TerminalLocationandVehicleLocation, representing terminal points and vehicle positions respectively. -
A
Locationobject can be created using latitude and longitude coordinates (LatLng). -
It provides methods for retrieving the latitude and longitude (
getLatLng), checking equality (equals), and generating a hash code (hashCode).
| Known Direct Subclasses |
Object representing a single instance of a location.
Public Constructor Summary
|
Location()
|
Public Method Summary
| static Location |
create(LatLng latLng)
|
| boolean | |
| abstract LatLng | |
| int |
hashCode()
|
| String |
toString()
|