External module "Geo/Bounds"
Functions
areBoundsInsideBounds
- areBoundsInsideBounds(bounds1: Bounds, bounds2: Bounds): boolean
-
Parameters
Returns boolean
createBoundsFromLocationAndSize
- createBoundsFromLocationAndSize(location: Location, width: number, height: number): Bounds
-
Parameters
-
-
width: number
-
height: number
getGeoJsonAndBoundsIntersection
- getGeoJsonAndBoundsIntersection(geoJson: DirectGeometryObject, bounds: Bounds): boolean
-
Parameters
-
geoJson: DirectGeometryObject
-
Returns boolean
getZoomFromBounds
- getZoomFromBounds(bounds: Bounds, pixelWidth: number): number
-
Parameters
Returns number
isLocationInBounds
-
Parameters
Returns boolean
https://stackoverflow.com/questions/6048975/google-maps-v3-how-to-calculate-the-zoom-level-for-a-given-bounds