Rename _ol_layer_Vector_ to VectorLayer
This commit is contained in:
@@ -22,7 +22,7 @@ import Polygon, {fromCircle, makeRegular} from '../geom/Polygon.js';
|
||||
import DrawEventType from '../interaction/DrawEventType.js';
|
||||
import _ol_interaction_Pointer_ from '../interaction/Pointer.js';
|
||||
import _ol_interaction_Property_ from '../interaction/Property.js';
|
||||
import _ol_layer_Vector_ from '../layer/Vector.js';
|
||||
import VectorLayer from '../layer/Vector.js';
|
||||
import _ol_source_Vector_ from '../source/Vector.js';
|
||||
import _ol_style_Style_ from '../style/Style.js';
|
||||
|
||||
@@ -249,7 +249,7 @@ var Draw = function(options) {
|
||||
* @type {ol.layer.Vector}
|
||||
* @private
|
||||
*/
|
||||
this.overlay_ = new _ol_layer_Vector_({
|
||||
this.overlay_ = new VectorLayer({
|
||||
source: new _ol_source_Vector_({
|
||||
useSpatialIndex: false,
|
||||
wrapX: options.wrapX ? options.wrapX : false
|
||||
|
||||
Reference in New Issue
Block a user