Doc improvements
This commit is contained in:
+12
-10
@@ -151,8 +151,8 @@ ol.style.Image.prototype.getSize = goog.abstractMethod;
|
||||
|
||||
|
||||
/**
|
||||
* Set the zIndex. Use `setStyle()` on the feature, layer or feature overlay
|
||||
* for changes to take effect.
|
||||
* Set the zIndex. Call `setStyle()` or `dispatchChangeEvent()` on feature,
|
||||
* layer or feature overlay for changes to take effect.
|
||||
*
|
||||
* @param {number} opacity Opacity.
|
||||
*/
|
||||
@@ -162,8 +162,9 @@ ol.style.Image.prototype.setOpacity = function(opacity) {
|
||||
|
||||
|
||||
/**
|
||||
* Set whether to rotate the style with the view. Use `setStyle()` on the
|
||||
* feature, layer or feature overlay for changes to take effect.
|
||||
* Set whether to rotate the style with the view. Call `setStyle()` or
|
||||
* `dispatchChangeEvent()` on feature, layer or feature overlay for changes to
|
||||
* take effect.
|
||||
*
|
||||
* @param {boolean} rotateWithView Rotate with map.
|
||||
*/
|
||||
@@ -173,8 +174,8 @@ ol.style.Image.prototype.setRotateWithView = function(rotateWithView) {
|
||||
|
||||
|
||||
/**
|
||||
* Set the rotation. Use `setStyle()` on the feature, layer or feature overlay
|
||||
* for changes to take effect.
|
||||
* Set the rotation. Call `setStyle()` or `dispatchChangeEvent()` on feature,
|
||||
* layer or feature overlay for changes to take effect.
|
||||
*
|
||||
* @param {number} rotation Rotation.
|
||||
* @api
|
||||
@@ -185,8 +186,8 @@ ol.style.Image.prototype.setRotation = function(rotation) {
|
||||
|
||||
|
||||
/**
|
||||
* Set the scale. Use `setStyle()` on the feature, layer or feature overlay
|
||||
* for changes to take effect.
|
||||
* Set the scale. Call `setStyle()` or `dispatchChangeEvent()` on feature, layer
|
||||
* or feature overlay for changes to take effect.
|
||||
*
|
||||
* @param {number} scale Scale.
|
||||
* @api
|
||||
@@ -197,8 +198,9 @@ ol.style.Image.prototype.setScale = function(scale) {
|
||||
|
||||
|
||||
/**
|
||||
* Set whether to snap the image to the closest pixel. Use `setStyle()` on the
|
||||
* feature, layer or feature overlay for changes to take effect.
|
||||
* Set whether to snap the image to the closest pixel. Call `setStyle()` or
|
||||
* `dispatchChangeEvent()` on feature, layer or feature overlay for changes to
|
||||
* take effect.
|
||||
*
|
||||
* @param {boolean} snapToPixel Snap to pixel?
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user