Module type for ol.render.Event
This commit is contained in:
@@ -96,7 +96,7 @@ const affectBlue = document.getElementById('affect-blue');
|
|||||||
* This method sets the globalCompositeOperation to the value of the select
|
* This method sets the globalCompositeOperation to the value of the select
|
||||||
* field and it is bound to the precompose event of the layers.
|
* field and it is bound to the precompose event of the layers.
|
||||||
*
|
*
|
||||||
* @param {ol.render.Event} evt The render event.
|
* @param {module:ol/render/Event~RenderEvent} evt The render event.
|
||||||
*/
|
*/
|
||||||
const setBlendModeFromSelect = function(evt) {
|
const setBlendModeFromSelect = function(evt) {
|
||||||
evt.context.globalCompositeOperation = select.value;
|
evt.context.globalCompositeOperation = select.value;
|
||||||
@@ -107,7 +107,7 @@ const setBlendModeFromSelect = function(evt) {
|
|||||||
* This method resets the globalCompositeOperation to the default value of
|
* This method resets the globalCompositeOperation to the default value of
|
||||||
* 'source-over' and it is bound to the postcompose event of the layers.
|
* 'source-over' and it is bound to the postcompose event of the layers.
|
||||||
*
|
*
|
||||||
* @param {ol.render.Event} evt The render event.
|
* @param {module:ol/render/Event~RenderEvent} evt The render event.
|
||||||
*/
|
*/
|
||||||
const resetBlendModeFromSelect = function(evt) {
|
const resetBlendModeFromSelect = function(evt) {
|
||||||
evt.context.globalCompositeOperation = 'source-over';
|
evt.context.globalCompositeOperation = 'source-over';
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const DEFAULT_GRADIENT = ['#00f', '#0ff', '#0f0', '#ff0', '#f00'];
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {module:ol/layer/Vector~VectorLayer}
|
* @extends {module:ol/layer/Vector~VectorLayer}
|
||||||
* @fires ol.render.Event
|
* @fires module:ol/render/Event~RenderEvent
|
||||||
* @param {module:ol/layer/Heatmap~Options=} opt_options Options.
|
* @param {module:ol/layer/Heatmap~Options=} opt_options Options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@@ -259,7 +259,7 @@ Heatmap.prototype.handleStyleChanged_ = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ol.render.Event} event Post compose event
|
* @param {module:ol/render/Event~RenderEvent} event Post compose event
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
Heatmap.prototype.handleRender_ = function(event) {
|
Heatmap.prototype.handleRender_ = function(event) {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import Layer from '../layer/Layer.js';
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {module:ol/layer/Layer~Layer}
|
* @extends {module:ol/layer/Layer~Layer}
|
||||||
* @fires ol.render.Event
|
* @fires module:ol/render/Event~RenderEvent
|
||||||
* @param {module:ol/layer/Image~Options=} opt_options Layer options.
|
* @param {module:ol/layer/Image~Options=} opt_options Layer options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ import SourceState from '../source/State.js';
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @abstract
|
* @abstract
|
||||||
* @extends {module:ol/layer/Base~BaseLayer}
|
* @extends {module:ol/layer/Base~BaseLayer}
|
||||||
* @fires ol.render.Event
|
* @fires module:ol/render/Event~RenderEvent
|
||||||
* @param {module:ol/layer/Layer~Options} options Layer options.
|
* @param {module:ol/layer/Layer~Options} options Layer options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ import {assign} from '../obj.js';
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {module:ol/layer/Layer~Layer}
|
* @extends {module:ol/layer/Layer~Layer}
|
||||||
* @fires ol.render.Event
|
* @fires module:ol/render/Event~RenderEvent
|
||||||
* @param {module:ol/layer/Tile~Options=} opt_options Tile layer options.
|
* @param {module:ol/layer/Tile~Options=} opt_options Tile layer options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ const Property = {
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {module:ol/layer/Layer~Layer}
|
* @extends {module:ol/layer/Layer~Layer}
|
||||||
* @fires ol.render.Event
|
* @fires module:ol/render/Event~RenderEvent
|
||||||
* @param {module:ol/layer/Vector~Options=} opt_options Options.
|
* @param {module:ol/layer/Vector~Options=} opt_options Options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -7,17 +7,17 @@
|
|||||||
*/
|
*/
|
||||||
export default {
|
export default {
|
||||||
/**
|
/**
|
||||||
* @event ol.render.Event#postcompose
|
* @event module:ol/render/Event~RenderEvent#postcompose
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
POSTCOMPOSE: 'postcompose',
|
POSTCOMPOSE: 'postcompose',
|
||||||
/**
|
/**
|
||||||
* @event ol.render.Event#precompose
|
* @event module:ol/render/Event~RenderEvent#precompose
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
PRECOMPOSE: 'precompose',
|
PRECOMPOSE: 'precompose',
|
||||||
/**
|
/**
|
||||||
* @event ol.render.Event#render
|
* @event module:ol/render/Event~RenderEvent#render
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
RENDER: 'render'
|
RENDER: 'render'
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import {create as createTransform, compose as composeTransform} from '../../tran
|
|||||||
* direct rendering of features and geometries to an HTML5 Canvas context.
|
* direct rendering of features and geometries to an HTML5 Canvas context.
|
||||||
* Instances of this class are created internally by the library and
|
* Instances of this class are created internally by the library and
|
||||||
* provided to application code as vectorContext member of the
|
* provided to application code as vectorContext member of the
|
||||||
* {@link ol.render.Event} object associated with postcompose, precompose and
|
* {@link module:ol/render/Event~RenderEvent} object associated with postcompose, precompose and
|
||||||
* render events emitted by layers and maps.
|
* render events emitted by layers and maps.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
Reference in New Issue
Block a user