From 6f98a75fb82986ce60d197b02457a8c7a7477674 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 30 Aug 2013 13:14:17 -0600 Subject: [PATCH 1/2] Limit feature exports --- src/ol/feature.exports | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ol/feature.exports b/src/ol/feature.exports index 1889f104c0..0a3367fac3 100644 --- a/src/ol/feature.exports +++ b/src/ol/feature.exports @@ -2,7 +2,3 @@ @exportProperty ol.Feature.prototype.getAttributes @exportProperty ol.Feature.prototype.getFeatureId @exportProperty ol.Feature.prototype.getGeometry -@exportProperty ol.Feature.prototype.set -@exportProperty ol.Feature.prototype.setFeatureId -@exportProperty ol.Feature.prototype.setGeometry -@exportProperty ol.Feature.prototype.setSymbolizers From 8e2b065ece5187a8e60ad1611e44a01dc0dc5fea Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 3 Sep 2013 11:54:58 -0600 Subject: [PATCH 2/2] 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. --- src/ol/feature.exports | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/feature.exports b/src/ol/feature.exports index 0a3367fac3..081404c6e7 100644 --- a/src/ol/feature.exports +++ b/src/ol/feature.exports @@ -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