Exporting set and setGeometry

Since the set method is exported on ol.Object, we need to export the method on the feature prototype to get correct behavior.
This commit is contained in:
Tim Schaub committed 2013-09-03 11:54:58 -06:00
1 parent 6f98a75fb8
commit 8e2b065ece
1 file changed
+2
+2
View File
@@ -2,3 +2,5 @@
@exportProperty ol.Feature.prototype.getAttributes
@exportProperty ol.Feature.prototype.getFeatureId
@exportProperty ol.Feature.prototype.getGeometry
@exportProperty ol.Feature.prototype.set
@exportProperty ol.Feature.prototype.setGeometry