diff --git a/src/ol.export.js b/src/ol.export.js index d31391abba..20098968d9 100644 --- a/src/ol.export.js +++ b/src/ol.export.js @@ -40,6 +40,14 @@ goog.exportProperty( ol.Bounds.prototype, 'minY', ol.Bounds.prototype.minY ); goog.exportProperty( ol.Bounds.prototype, 'maxX', ol.Bounds.prototype.maxX ); goog.exportProperty( ol.Bounds.prototype, 'maxY', ol.Bounds.prototype.maxY ); +// ol.layer.xyz +goog.exportSymbol('ol.layer.xyz', ol.layer.xyz); +goog.exportSymbol('ol.layer.XYZ', ol.layer.XYZ); + +// ol.layer.osm +goog.exportSymbol('ol.layer.osm', ol.layer.osm); +goog.exportSymbol('ol.layer.OSM', ol.layer.OSM); + // ol.feature goog.exportSymbol('ol.feature', ol.feature); goog.exportSymbol('ol.Feature', ol.Feature); @@ -70,4 +78,4 @@ goog.exportProperty(ol.geom.Point.prototype, 'projection', ol.geom.Point.prototy // 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); \ No newline at end of file +ol.control.addControl('navigation', ol.control.Navigation);