Module type for ol.Extent
This commit is contained in:
@@ -16,7 +16,7 @@ import VectorSource from '../source/Vector.js';
|
||||
* @typedef {Object} Options
|
||||
* @property {ol.AttributionLike} [attributions] Attributions.
|
||||
* @property {number} [distance=20] Minimum distance in pixels between clusters.
|
||||
* @property {ol.Extent} [extent] Extent.
|
||||
* @property {module:ol/extent~Extent} [extent] Extent.
|
||||
* @property {ol.format.Feature} [format] Format.
|
||||
* @property {function(module:ol/Feature~Feature):module:ol/geom/Point~Point} [geometryFunction]
|
||||
* Function that takes an {@link module:ol/Feature~Feature} as argument and returns an
|
||||
|
||||
@@ -11,7 +11,7 @@ import ImageSource from '../source/Image.js';
|
||||
* @property {ol.AttributionLike} [attributions] Attributions.
|
||||
* @property {ol.CanvasFunctionType} [canvasFunction] Canvas function.
|
||||
* The function returning the canvas element used by the source
|
||||
* as an image. The arguments passed to the function are: `{ol.Extent}` the
|
||||
* as an image. The arguments passed to the function are: `{module:ol/extent~Extent}` the
|
||||
* image extent, `{number}` the image resolution, `{number}` the device pixel
|
||||
* ratio, `{ol.Size}` the image size, and `{module:ol/proj/Projection~Projection}` the image
|
||||
* projection. The canvas returned by this function is cached by the source. If
|
||||
|
||||
@@ -18,7 +18,7 @@ import ImageSource, {defaultImageLoadFunction} from '../source/Image.js';
|
||||
* you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to
|
||||
* access pixel data with the Canvas renderer. See
|
||||
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image} for more detail.
|
||||
* @property {ol.Extent} [imageExtent] Extent of the image in map coordinates.
|
||||
* @property {module:ol/extent~Extent} [imageExtent] Extent of the image in map coordinates.
|
||||
* This is the [left, bottom, right, top] map coordinates of your image.
|
||||
* @property {ol.ImageLoadFunctionType} [imageLoadFunction] Optional function to load an image given a URL.
|
||||
* @property {module:ol/proj~ProjectionLike} projection Projection.
|
||||
|
||||
@@ -103,7 +103,7 @@ CustomTile.prototype.getImage = function() {
|
||||
* used instead of defining each one separately in the `urls` option.
|
||||
* @property {string} [tierSizeCalculation] Tier size calculation method: `default` or `truncated`.
|
||||
* @property {ol.Size} [size] Size of the image.
|
||||
* @property {ol.Extent} [extent] Extent for the TileGrid that is created.
|
||||
* @property {module:ol/extent~Extent} [extent] Extent for the TileGrid that is created.
|
||||
* Default sets the TileGrid in the
|
||||
* fourth quadrant, meaning extent is `[0, -height, width, 0]`. To change the
|
||||
* extent to the first quadrant (the default for OpenLayers 2) set the extent
|
||||
|
||||
Reference in New Issue
Block a user