Style docs

This commit is contained in:
Tim Schaub
2015-04-04 17:35:38 +02:00
parent 02c4c8b360
commit 50f71655e5
8 changed files with 44 additions and 3 deletions
+7 -2
View File
@@ -26,7 +26,7 @@ ol.style.ImageOptions;
/**
* @classdesc
* Abstract base class; used for creating subclasses and not instantiated in
* A base class used for creating subclasses and not instantiated in
* apps. Base class for {@link ol.style.Icon} and {@link ol.style.Circle}.
*
* @constructor
@@ -69,6 +69,7 @@ ol.style.Image = function(options) {
/**
* Get the symbolizer opacity.
* @return {number} Opacity.
* @api
*/
@@ -78,6 +79,7 @@ ol.style.Image.prototype.getOpacity = function() {
/**
* Determine whether the symbolizer rotates with the map.
* @return {boolean} Rotate with map.
* @api
*/
@@ -87,6 +89,7 @@ ol.style.Image.prototype.getRotateWithView = function() {
/**
* Get the symoblizer rotation.
* @return {number} Rotation.
* @api
*/
@@ -96,6 +99,7 @@ ol.style.Image.prototype.getRotation = function() {
/**
* Get the symbolizer scale.
* @return {number} Scale.
* @api
*/
@@ -105,7 +109,8 @@ ol.style.Image.prototype.getScale = function() {
/**
* @return {boolean} Snap to pixel?
* Determine whether the symbolizer should be snapped to a pixel.
* @return {boolean} The symbolizer should snap to a pixel.
* @api
*/
ol.style.Image.prototype.getSnapToPixel = function() {