Move format exports into child classes.

To only export implemented methods.
This commit is contained in:
Antoine Abt
2014-01-06 16:33:21 +01:00
parent f3349fbf87
commit 979b7485b5
6 changed files with 13 additions and 21 deletions

View File

@@ -1 +1,8 @@
@exportSymbol ol.format.GeoJSON
@exportProperty ol.format.GeoJSON.prototype.readFeature
@exportProperty ol.format.GeoJSON.prototype.readFeatures
@exportProperty ol.format.GeoJSON.prototype.readGeometry
@exportProperty ol.format.GeoJSON.prototype.readProjection
@exportProperty ol.format.GeoJSON.prototype.writeFeature
@exportProperty ol.format.GeoJSON.prototype.writeFeatures
@exportProperty ol.format.GeoJSON.prototype.writeGeometry

View File

@@ -1 +1,3 @@
@exportSymbol ol.format.IGC
@exportProperty ol.format.IGC.prototype.readFeature
@exportProperty ol.format.IGC.prototype.readFeatures

View File

@@ -1,7 +0,0 @@
@exportProperty ol.format.JSON.prototype.readFeature
@exportProperty ol.format.JSON.prototype.readFeatures
@exportProperty ol.format.JSON.prototype.readGeometry
@exportProperty ol.format.JSON.prototype.readProjection
@exportProperty ol.format.JSON.prototype.writeFeature
@exportProperty ol.format.JSON.prototype.writeFeatures
@exportProperty ol.format.JSON.prototype.writeGeometry

View File

@@ -1,2 +1,6 @@
@exportSymbol ol.format.KML
@exportProperty ol.format.KML.prototype.readName
@exportProperty ol.format.KML.prototype.readFeature
@exportProperty ol.format.KML.prototype.readFeatures
@exportProperty ol.format.KML.prototype.readGeometry
@exportProperty ol.format.KML.prototype.readProjection

View File

@@ -1,7 +0,0 @@
@exportProperty ol.format.Text.prototype.readFeature
@exportProperty ol.format.Text.prototype.readFeatures
@exportProperty ol.format.Text.prototype.readGeometry
@exportProperty ol.format.Text.prototype.readProjection
@exportProperty ol.format.Text.prototype.writeFeature
@exportProperty ol.format.Text.prototype.writeFeatures
@exportProperty ol.format.Text.prototype.writeGeometry

View File

@@ -1,7 +0,0 @@
@exportProperty ol.format.XML.prototype.readFeature
@exportProperty ol.format.XML.prototype.readFeatures
@exportProperty ol.format.XML.prototype.readGeometry
@exportProperty ol.format.XML.prototype.readProjection
@exportProperty ol.format.XML.prototype.writeFeature
@exportProperty ol.format.XML.prototype.writeFeatures
@exportProperty ol.format.XML.prototype.writeGeometry