diff --git a/src/ol/color/color.js b/src/ol/color/color.js index 3f8dfc694e..f63521d903 100644 --- a/src/ol/color/color.js +++ b/src/ol/color/color.js @@ -3,6 +3,7 @@ // causes occasional loss of precision and rounding errors, especially in the // alpha channel. +goog.provide('ol.Color'); goog.provide('ol.color'); goog.require('goog.asserts'); diff --git a/src/ol/format/gml/gml3format.js b/src/ol/format/gml/gml3format.js index 3d9a7a2d5d..6dcff97b7b 100644 --- a/src/ol/format/gml/gml3format.js +++ b/src/ol/format/gml/gml3format.js @@ -11,6 +11,7 @@ goog.require('ol.format.Feature'); goog.require('ol.format.GMLBase'); goog.require('ol.format.XSD'); goog.require('ol.geom.Geometry'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.LinearRing'); goog.require('ol.geom.MultiLineString'); diff --git a/src/ol/format/gml/gmlbaseformat.js b/src/ol/format/gml/gmlbaseformat.js index 7f7e1a4b47..4cf69833be 100644 --- a/src/ol/format/gml/gmlbaseformat.js +++ b/src/ol/format/gml/gmlbaseformat.js @@ -12,6 +12,7 @@ goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.XMLFeature'); goog.require('ol.geom.Geometry'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.LinearRing'); goog.require('ol.geom.MultiLineString'); diff --git a/src/ol/format/gpxformat.js b/src/ol/format/gpxformat.js index 0e9b22a26d..74868da1b9 100644 --- a/src/ol/format/gpxformat.js +++ b/src/ol/format/gpxformat.js @@ -8,6 +8,7 @@ goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.XMLFeature'); goog.require('ol.format.XSD'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.MultiLineString'); goog.require('ol.geom.Point'); diff --git a/src/ol/format/igcformat.js b/src/ol/format/igcformat.js index aa57c6273e..98ee21aaec 100644 --- a/src/ol/format/igcformat.js +++ b/src/ol/format/igcformat.js @@ -7,6 +7,7 @@ goog.require('goog.string.newlines'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.TextFeature'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.proj'); diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index 5036018c9d..e69b99d337 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -21,6 +21,7 @@ goog.require('ol.format.XMLFeature'); goog.require('ol.format.XSD'); goog.require('ol.geom.Geometry'); goog.require('ol.geom.GeometryCollection'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.LineString'); goog.require('ol.geom.LinearRing'); diff --git a/src/ol/format/osmxmlformat.js b/src/ol/format/osmxmlformat.js index 4ad22a46e9..8f7344617b 100644 --- a/src/ol/format/osmxmlformat.js +++ b/src/ol/format/osmxmlformat.js @@ -8,6 +8,7 @@ goog.require('goog.object'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.XMLFeature'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.Point'); goog.require('ol.geom.Polygon'); diff --git a/src/ol/format/polylineformat.js b/src/ol/format/polylineformat.js index 1e269c5f74..d50f0ce854 100644 --- a/src/ol/format/polylineformat.js +++ b/src/ol/format/polylineformat.js @@ -4,6 +4,7 @@ goog.require('goog.asserts'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.TextFeature'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.flat.flip'); diff --git a/src/ol/geom/circle.js b/src/ol/geom/circle.js index 03a130a683..ee6077c7e3 100644 --- a/src/ol/geom/circle.js +++ b/src/ol/geom/circle.js @@ -2,6 +2,7 @@ goog.provide('ol.geom.Circle'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.flat.deflate'); diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 24f22bac86..5a09b7db31 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -1,4 +1,5 @@ goog.provide('ol.geom.Geometry'); +goog.provide('ol.geom.GeometryLayout'); goog.provide('ol.geom.GeometryType'); goog.require('goog.functions'); diff --git a/src/ol/geom/linearring.js b/src/ol/geom/linearring.js index f527d13944..b33d41db76 100644 --- a/src/ol/geom/linearring.js +++ b/src/ol/geom/linearring.js @@ -1,6 +1,7 @@ goog.provide('ol.geom.LinearRing'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.flat.area'); diff --git a/src/ol/geom/linestring.js b/src/ol/geom/linestring.js index 0039f8e88d..d9c35fdb87 100644 --- a/src/ol/geom/linestring.js +++ b/src/ol/geom/linestring.js @@ -3,6 +3,7 @@ goog.provide('ol.geom.LineString'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.flat.closest'); diff --git a/src/ol/geom/multilinestring.js b/src/ol/geom/multilinestring.js index 41b5977953..d7111c6ceb 100644 --- a/src/ol/geom/multilinestring.js +++ b/src/ol/geom/multilinestring.js @@ -3,6 +3,7 @@ goog.provide('ol.geom.MultiLineString'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.LineString'); goog.require('ol.geom.SimpleGeometry'); diff --git a/src/ol/geom/multipoint.js b/src/ol/geom/multipoint.js index 8005413761..707b827764 100644 --- a/src/ol/geom/multipoint.js +++ b/src/ol/geom/multipoint.js @@ -3,6 +3,7 @@ goog.provide('ol.geom.MultiPoint'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.Point'); goog.require('ol.geom.SimpleGeometry'); diff --git a/src/ol/geom/multipolygon.js b/src/ol/geom/multipolygon.js index c5212ea13a..573fc2b889 100644 --- a/src/ol/geom/multipolygon.js +++ b/src/ol/geom/multipolygon.js @@ -3,6 +3,7 @@ goog.provide('ol.geom.MultiPolygon'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.MultiPoint'); goog.require('ol.geom.Polygon'); diff --git a/src/ol/geom/point.js b/src/ol/geom/point.js index bb69afa415..23ca53d77c 100644 --- a/src/ol/geom/point.js +++ b/src/ol/geom/point.js @@ -1,6 +1,7 @@ goog.provide('ol.geom.Point'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.flat.deflate'); diff --git a/src/ol/geom/polygon.js b/src/ol/geom/polygon.js index 55fdff36f5..627910b333 100644 --- a/src/ol/geom/polygon.js +++ b/src/ol/geom/polygon.js @@ -3,6 +3,7 @@ goog.provide('ol.geom.Polygon'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.LinearRing'); goog.require('ol.geom.Point'); diff --git a/src/ol/geom/simplegeometry.js b/src/ol/geom/simplegeometry.js index d943f00d95..b0b1debdff 100644 --- a/src/ol/geom/simplegeometry.js +++ b/src/ol/geom/simplegeometry.js @@ -5,6 +5,7 @@ goog.require('goog.functions'); goog.require('goog.object'); goog.require('ol.extent'); goog.require('ol.geom.Geometry'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.flat.transform'); diff --git a/src/ol/graticule.js b/src/ol/graticule.js index 9be2124351..89adadad5e 100644 --- a/src/ol/graticule.js +++ b/src/ol/graticule.js @@ -3,6 +3,7 @@ goog.provide('ol.Graticule'); goog.require('goog.asserts'); goog.require('goog.math'); goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.flat.geodesic'); goog.require('ol.proj'); diff --git a/src/ol/style/style.js b/src/ol/style/style.js index 082e573110..b59ac25282 100644 --- a/src/ol/style/style.js +++ b/src/ol/style/style.js @@ -1,4 +1,6 @@ +goog.provide('ol.style.GeometryFunction'); goog.provide('ol.style.Style'); +goog.provide('ol.style.StyleFunction'); goog.provide('ol.style.defaultGeometryFunction'); goog.require('goog.asserts'); diff --git a/test/spec/ol/format/geojsonformat.test.js b/test/spec/ol/format/geojsonformat.test.js index 6a4906c9b9..b4cc9cf174 100644 --- a/test/spec/ol/format/geojsonformat.test.js +++ b/test/spec/ol/format/geojsonformat.test.js @@ -709,6 +709,7 @@ goog.require('ol.Feature'); goog.require('ol.extent'); goog.require('ol.format.GeoJSON'); goog.require('ol.geom.Circle'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryCollection'); goog.require('ol.geom.LineString'); goog.require('ol.geom.LinearRing'); diff --git a/test/spec/ol/format/gpxformat.test.js b/test/spec/ol/format/gpxformat.test.js index 7c65acb1ae..311c719e3d 100644 --- a/test/spec/ol/format/gpxformat.test.js +++ b/test/spec/ol/format/gpxformat.test.js @@ -566,6 +566,7 @@ describe('ol.format.GPX', function() { goog.require('ol.Feature'); goog.require('ol.format.GPX'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.MultiLineString'); goog.require('ol.geom.Point'); diff --git a/test/spec/ol/format/kmlformat.test.js b/test/spec/ol/format/kmlformat.test.js index 6050a7976f..adaaef5c18 100644 --- a/test/spec/ol/format/kmlformat.test.js +++ b/test/spec/ol/format/kmlformat.test.js @@ -2580,6 +2580,7 @@ goog.require('goog.dom.xml'); goog.require('ol.Feature'); goog.require('ol.format.KML'); goog.require('ol.geom.GeometryCollection'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.LinearRing'); goog.require('ol.geom.MultiLineString'); diff --git a/test/spec/ol/format/polylineformat.test.js b/test/spec/ol/format/polylineformat.test.js index f3085dfef7..247c5b6fc8 100644 --- a/test/spec/ol/format/polylineformat.test.js +++ b/test/spec/ol/format/polylineformat.test.js @@ -404,5 +404,6 @@ describe('ol.format.Polyline', function() { goog.require('ol.Feature'); goog.require('ol.format.Polyline'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.proj'); diff --git a/test/spec/ol/geom/circle.test.js b/test/spec/ol/geom/circle.test.js index 0b4443dcfc..463d8c257b 100644 --- a/test/spec/ol/geom/circle.test.js +++ b/test/spec/ol/geom/circle.test.js @@ -210,3 +210,4 @@ describe('ol.geom.Circle', function() { goog.require('ol.geom.Circle'); goog.require('ol.geom.GeometryType'); +goog.require('ol.geom.GeometryLayout'); diff --git a/test/spec/ol/geom/linestring.test.js b/test/spec/ol/geom/linestring.test.js index f4546bc59e..9b8808a0eb 100644 --- a/test/spec/ol/geom/linestring.test.js +++ b/test/spec/ol/geom/linestring.test.js @@ -302,4 +302,5 @@ describe('ol.geom.LineString', function() { goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); diff --git a/test/spec/ol/geom/multilinestring.test.js b/test/spec/ol/geom/multilinestring.test.js index 76d18f9ec1..92470424db 100644 --- a/test/spec/ol/geom/multilinestring.test.js +++ b/test/spec/ol/geom/multilinestring.test.js @@ -322,5 +322,6 @@ describe('ol.geom.MultiLineString', function() { goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LineString'); goog.require('ol.geom.MultiLineString'); diff --git a/test/spec/ol/geom/multipoint.test.js b/test/spec/ol/geom/multipoint.test.js index a6b3a472b6..e7f090dc72 100644 --- a/test/spec/ol/geom/multipoint.test.js +++ b/test/spec/ol/geom/multipoint.test.js @@ -253,5 +253,6 @@ describe('ol.geom.MultiPoint', function() { goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.MultiPoint'); goog.require('ol.geom.Point'); diff --git a/test/spec/ol/geom/point.test.js b/test/spec/ol/geom/point.test.js index f32f86f23c..66ef298b33 100644 --- a/test/spec/ol/geom/point.test.js +++ b/test/spec/ol/geom/point.test.js @@ -171,4 +171,5 @@ describe('ol.geom.Point', function() { goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.Point'); diff --git a/test/spec/ol/geom/polygon.test.js b/test/spec/ol/geom/polygon.test.js index 5ca233f260..25e99faf1b 100644 --- a/test/spec/ol/geom/polygon.test.js +++ b/test/spec/ol/geom/polygon.test.js @@ -440,5 +440,6 @@ describe('ol.geom.Polygon', function() { goog.require('ol.extent'); +goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.LinearRing'); goog.require('ol.geom.Polygon');