Make modify interaction use FeaturesOverlay

Instead of a whole map.
This commit is contained in:
Antoine Abt
2014-01-23 10:36:09 +01:00
parent 3155d681be
commit a1d20182fe
6 changed files with 153 additions and 165 deletions

View File

@@ -242,3 +242,11 @@ ol.FeatureOverlay.prototype.setStyleFunction = function(styleFunction) {
this.styleFunction_ = styleFunction;
this.requestRenderFrame_();
};
/**
* @return {ol.feature.StyleFunction|undefined} Style function.
*/
ol.render.FeaturesOverlay.prototype.getStyleFunction = function() {
return this.styleFunction_;
};