Export namespaces or constructors but not functions
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
goog.require('ol.parser.ogc.WMTSCapabilities');
|
goog.require('ol.parser.ogc.WMTSCapabilities');
|
||||||
goog.require('ol.proj.addCommonProjections');
|
goog.require('ol.proj.common');
|
||||||
|
|
||||||
ol.proj.addCommonProjections();
|
ol.proj.common.add();
|
||||||
Proj4js.defs['EPSG:31256'] = '+proj=tmerc +lat_0=0 ' +
|
Proj4js.defs['EPSG:31256'] = '+proj=tmerc +lat_0=0 ' +
|
||||||
'+lon_0=16.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel ' +
|
'+lon_0=16.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel ' +
|
||||||
'+towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 ' +
|
'+towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 ' +
|
||||||
|
|||||||
+2
-2
@@ -56,7 +56,7 @@ goog.require('ol.interaction.defaults');
|
|||||||
goog.require('ol.layer.LayerBase');
|
goog.require('ol.layer.LayerBase');
|
||||||
goog.require('ol.layer.LayerGroup');
|
goog.require('ol.layer.LayerGroup');
|
||||||
goog.require('ol.proj');
|
goog.require('ol.proj');
|
||||||
goog.require('ol.proj.addCommonProjections');
|
goog.require('ol.proj.common');
|
||||||
goog.require('ol.renderer.Map');
|
goog.require('ol.renderer.Map');
|
||||||
goog.require('ol.renderer.canvas.Map');
|
goog.require('ol.renderer.canvas.Map');
|
||||||
goog.require('ol.renderer.canvas.SUPPORTED');
|
goog.require('ol.renderer.canvas.SUPPORTED');
|
||||||
@@ -1217,7 +1217,7 @@ ol.RendererHints.createFromQueryData = function(opt_queryData) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ol.proj.addCommonProjections();
|
ol.proj.common.add();
|
||||||
|
|
||||||
|
|
||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
|
|||||||
+2
-1
@@ -13,10 +13,11 @@
|
|||||||
@exportProperty ol.ProjectionUnits.METERS
|
@exportProperty ol.ProjectionUnits.METERS
|
||||||
|
|
||||||
@exportSymbol ol.proj.addProjection
|
@exportSymbol ol.proj.addProjection
|
||||||
@exportSymbol ol.proj.addCommonProjections
|
|
||||||
@exportSymbol ol.proj.get
|
@exportSymbol ol.proj.get
|
||||||
@exportSymbol ol.proj.getTransform
|
@exportSymbol ol.proj.getTransform
|
||||||
@exportSymbol ol.proj.getTransformFromProjections
|
@exportSymbol ol.proj.getTransformFromProjections
|
||||||
@exportSymbol ol.proj.transform
|
@exportSymbol ol.proj.transform
|
||||||
@exportSymbol ol.proj.transformWithProjections
|
@exportSymbol ol.proj.transformWithProjections
|
||||||
@exportSymbol ol.proj.configureProj4jsProjection
|
@exportSymbol ol.proj.configureProj4jsProjection
|
||||||
|
|
||||||
|
@exportSymbol ol.proj.common.add
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
goog.provide('ol.proj.addCommonProjections');
|
goog.provide('ol.proj.common');
|
||||||
|
|
||||||
goog.require('ol.proj');
|
goog.require('ol.proj');
|
||||||
goog.require('ol.proj.EPSG3857');
|
goog.require('ol.proj.EPSG3857');
|
||||||
@@ -8,7 +8,7 @@ goog.require('ol.proj.EPSG4326');
|
|||||||
/**
|
/**
|
||||||
* FIXME empty description for jsdoc
|
* FIXME empty description for jsdoc
|
||||||
*/
|
*/
|
||||||
ol.proj.addCommonProjections = function() {
|
ol.proj.common.add = function() {
|
||||||
// Add transformations that don't alter coordinates to convert within set of
|
// Add transformations that don't alter coordinates to convert within set of
|
||||||
// projections with equal meaning.
|
// projections with equal meaning.
|
||||||
ol.proj.addEquivalentProjections(ol.proj.EPSG3857.PROJECTIONS);
|
ol.proj.addEquivalentProjections(ol.proj.EPSG3857.PROJECTIONS);
|
||||||
|
|||||||
Reference in New Issue
Block a user