Static
angleStatic
angleStatic
averageAverages the location for a list of coordinates
the list of coordinates
the average point
2.0.0
Static
distanceStatic
headingStatic
locationCalculates offset location given source location, heading (bearing), and distance.
the original coordinate
the bearing in DEGREES
the offset distance in METERS
the new location
Static
pointStatic
tileCalculates the tile bounds on a mercator projection given an x, y, and zoom.
X coordinate on a mercator projection.
Y coordinate on a mercator projection.
Zoom of the map.
a LatLngBounds containing the tile coordinates
Static
unionCombine multiple coordinate bounds into a single one
a list of bounds to merge
the merged bounds
2.0.0
Generated using TypeDoc
This is a utility class that performs various calculations related to maps. All methods are static so an instance of this class should not be created.
Since
2.0.0