Add a "features" option to ol.interaction.Select
This commit is contained in:
@@ -180,6 +180,7 @@ ol.interaction.Select = function(opt_options) {
|
||||
this.featureOverlay_ = new ol.layer.Vector({
|
||||
source: new ol.source.Vector({
|
||||
useSpatialIndex: false,
|
||||
features: options.features,
|
||||
wrapX: options.wrapX
|
||||
}),
|
||||
style: goog.isDef(options.style) ? options.style :
|
||||
|
||||
Reference in New Issue
Block a user