Rename ol.render.FeaturesOverlay to ol.FeatureOverlay
This commit is contained in:
@@ -17,7 +17,7 @@ goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.render.FeaturesOverlay');
|
||||
goog.require('ol.FeatureOverlay');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
@@ -143,10 +143,10 @@ ol.interaction.Draw = function(opt_options) {
|
||||
|
||||
/**
|
||||
* Draw overlay where are sketch features are drawn.
|
||||
* @type {ol.render.FeaturesOverlay}
|
||||
* @type {ol.FeatureOverlay}
|
||||
* @private
|
||||
*/
|
||||
this.overlay_ = new ol.render.FeaturesOverlay();
|
||||
this.overlay_ = new ol.FeatureOverlay();
|
||||
this.overlay_.setStyleFunction(goog.isDef(opt_options.styleFunction) ?
|
||||
opt_options.styleFunction : ol.interaction.Draw.defaultStyleFunction
|
||||
);
|
||||
|
||||
@@ -4,7 +4,7 @@ goog.require('goog.array');
|
||||
goog.require('goog.functions');
|
||||
goog.require('ol.events.condition');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.render.FeaturesOverlay');
|
||||
goog.require('ol.FeatureOverlay');
|
||||
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ ol.interaction.Select = function(opt_options) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.render.FeaturesOverlay}
|
||||
* @type {ol.FeatureOverlay}
|
||||
*/
|
||||
this.featuresOverlay_ = options.featuresOverlay;
|
||||
|
||||
@@ -78,7 +78,7 @@ goog.inherits(ol.interaction.Select, ol.interaction.Interaction);
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.render.FeaturesOverlay} Features overlay.
|
||||
* @return {ol.FeatureOverlay} Features overlay.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.interaction.Select.prototype.getFeaturesOverlay = function() {
|
||||
|
||||
Reference in New Issue
Block a user