From cf3da75d83950f9ca6892ac344d63a715ff0d4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Jun 2012 14:04:44 +0200 Subject: [PATCH] fix layer.osm and layer.xyz api tests in adv mode --- src/ol.export.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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);