diff --git a/src/ol.export.js b/src/ol.export.js index 20098968d9..a22c6757ac 100644 --- a/src/ol.export.js +++ b/src/ol.export.js @@ -76,6 +76,14 @@ goog.exportProperty(ol.geom.Point.prototype, 'y', ol.geom.Point.prototype.y); goog.exportProperty(ol.geom.Point.prototype, 'z', ol.geom.Point.prototype.z); goog.exportProperty(ol.geom.Point.prototype, 'projection', ol.geom.Point.prototype.projection); +// ol.geom.linestring +goog.exportSymbol('ol.geom.linestring', ol.geom.linestring); +goog.exportSymbol('ol.geom.LineString', ol.geom.LineString); +goog.exportProperty(ol.geom.LineString.prototype, 'vertices', ol.geom.LineString.prototype.vertices); +goog.exportProperty(ol.geom.LineString.prototype, 'add', ol.geom.LineString.prototype.add); +goog.exportProperty(ol.geom.LineString.prototype, 'addAll', ol.geom.LineString.prototype.addAll); +goog.exportProperty(ol.geom.LineString.prototype, 'remove', ol.geom.LineString.prototype.remove); + // LOOKUP FOR DYNMICALLY REGISTERED CONTROLS DOES NOT RUN WELL NOW IN THE ADVANCED MODE // HACK TO PUSH COMPILER TO NOT STRIP THE NAVIGATION CONTROL. TO BE FIXED. -ol.control.addControl('navigation', ol.control.Navigation); +ol.control.addControl('navigation', ol.control.Navigation); \ No newline at end of file