Use goog.math.Bounds for extents
This commit is contained in:
+4
-6
@@ -8,11 +8,9 @@ goog.math.Coordinate // Simple 2D point
|
|||||||
|
|
||||||
goog.math.Box
|
goog.math.Box
|
||||||
|
|
|
|
||||||
|
+- Extent // The extent of a single object in two dimensions, projection not stored
|
||||||
|
|
|
||||||
+- TileBounds // A range of tiles in two dimensions, integer coordinates, z not stored
|
+- TileBounds // A range of tiles in two dimensions, integer coordinates, z not stored
|
||||||
|
|
|
||||||
+- Extent // The extent of a single object in two dimensions, projection not stored
|
|
||||||
|
|
|
||||||
+- Bounds // A range of objects in two dimensions
|
|
||||||
|
|
||||||
|
|
||||||
Projection
|
Projection
|
||||||
@@ -168,14 +166,14 @@ Map
|
|||||||
|
|
||||||
TileGrid
|
TileGrid
|
||||||
resolutions Array.<number>
|
resolutions Array.<number>
|
||||||
extent Extent
|
extent ol.Extent
|
||||||
corner TOP_LEFT | BOTTOM_LEFT
|
corner TOP_LEFT | BOTTOM_LEFT
|
||||||
origin(s) Coord|Array.<Coord>
|
origin(s) Coord|Array.<Coord>
|
||||||
tileSize goog.math.Size
|
tileSize goog.math.Size
|
||||||
getTileBounds(z, extent) -> TileBounds
|
getTileBounds(z, extent) -> TileBounds
|
||||||
getTileCoordCenter(tileCoord) -> goog.math.Coordinate
|
getTileCoordCenter(tileCoord) -> goog.math.Coordinate
|
||||||
getTileCoord(coordinate) -> TileCoord
|
getTileCoord(coordinate) -> TileCoord
|
||||||
getTileCoordExtent(tileCoord) -> Extent
|
getTileCoordExtent(tileCoord) -> ol.Extent
|
||||||
getZForResolution(resolution) -> number
|
getZForResolution(resolution) -> number
|
||||||
yieldTileCoordChildren(tileCoord, function(z, TileBounds))
|
yieldTileCoordChildren(tileCoord, function(z, TileBounds))
|
||||||
yieldTileCoordParents(tileCoord, function(z, TileBounds))
|
yieldTileCoordParents(tileCoord, function(z, TileBounds))
|
||||||
|
|||||||
Reference in New Issue
Block a user