A bit more static image doc

This commit is contained in:
Tim Schaub
2014-11-11 19:01:05 -08:00
parent 84889d9dc5
commit b269161276
2 changed files with 11 additions and 7 deletions

View File

@@ -4573,7 +4573,11 @@ olx.source.ImageStaticOptions.prototype.attributions;
/**
* crossOrigin setting for image requests.
* The `crossOrigin` attribute for loaded images. Note that 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.
* @type {null|string|undefined}
* @api stable
*/
@@ -4581,7 +4585,8 @@ olx.source.ImageStaticOptions.prototype.crossOrigin;
/**
* Extent of the image.
* Extent of the image in map coordinates. This is the [left, bottom, right,
* top] map coordinates of your image.
* @type {ol.Extent}
* @api stable
*/
@@ -4589,7 +4594,7 @@ olx.source.ImageStaticOptions.prototype.imageExtent;
/**
* Size of the image.
* Size of the image in pixels.
* @type {ol.Size|undefined}
* @api stable
*/
@@ -4605,7 +4610,7 @@ olx.source.ImageStaticOptions.prototype.imageLoadFunction;
/**
* Logo.
* Optional logo.
* @type {string|olx.LogoOptions|undefined}
* @api stable
*/
@@ -4621,7 +4626,7 @@ olx.source.ImageStaticOptions.prototype.projection;
/**
* Url.
* Image URL.
* @type {string}
* @api stable
*/

View File

@@ -10,8 +10,7 @@ goog.require('ol.source.Image');
/**
* @classdesc
* An image source for 'static', that is, non-georeferenced, images.
* See examples/static-image for example.
* A layer source for displaying a single, static image.
*
* @constructor
* @extends {ol.source.Image}