A simple container to store a latitude and longitude
The constructor
Name | Type | Description |
---|---|---|
lat | Number | The lat |
lng | Number | The lng |
Create a new LatLng object from another object that have a lat and lng property ( the given object can be any other class... )
Name | Type | Description |
---|---|---|
something | Object | An object with a lat and a lng property |