Remove sub-namespaces from all remaining typedefs
This commit is contained in:
@@ -161,7 +161,7 @@ ol.interaction.Draw = function(options) {
|
||||
/**
|
||||
* A function to decide if a potential finish coordinate is permissable
|
||||
* @private
|
||||
* @type {ol.events.ConditionType}
|
||||
* @type {ol.EventsConditionType}
|
||||
*/
|
||||
this.finishCondition_ = options.finishCondition ? options.finishCondition : ol.functions.TRUE;
|
||||
|
||||
@@ -213,7 +213,7 @@ ol.interaction.Draw = function(options) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @type {ol.interaction.DrawGeometryFunctionType}
|
||||
* @type {ol.DrawGeometryFunctionType}
|
||||
* @private
|
||||
*/
|
||||
this.geometryFunction_ = geometryFunction;
|
||||
@@ -294,14 +294,14 @@ ol.interaction.Draw = function(options) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.events.ConditionType}
|
||||
* @type {ol.EventsConditionType}
|
||||
*/
|
||||
this.condition_ = options.condition ?
|
||||
options.condition : ol.events.condition.noModifierKeys;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.events.ConditionType}
|
||||
* @type {ol.EventsConditionType}
|
||||
*/
|
||||
this.freehandCondition_ = options.freehandCondition ?
|
||||
options.freehandCondition : ol.events.condition.shiftKeyOnly;
|
||||
@@ -315,7 +315,7 @@ ol.inherits(ol.interaction.Draw, ol.interaction.Pointer);
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.style.StyleFunction} Styles.
|
||||
* @return {ol.StyleFunction} Styles.
|
||||
*/
|
||||
ol.interaction.Draw.getDefaultStyleFunction = function() {
|
||||
var styles = ol.style.createDefaultEditingStyles();
|
||||
@@ -795,7 +795,7 @@ ol.interaction.Draw.prototype.updateState_ = function() {
|
||||
* @param {number=} opt_angle Angle of the first point in radians. 0 means East.
|
||||
* Default is the angle defined by the heading from the center of the
|
||||
* regular polygon to the current pointer position.
|
||||
* @return {ol.interaction.DrawGeometryFunctionType} Function that draws a
|
||||
* @return {ol.DrawGeometryFunctionType} Function that draws a
|
||||
* polygon.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user