Export namespaces or constructors but not functions
This commit is contained in:
@@ -56,7 +56,7 @@ goog.require('ol.interaction.defaults');
|
||||
goog.require('ol.layer.LayerBase');
|
||||
goog.require('ol.layer.LayerGroup');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.addCommonProjections');
|
||||
goog.require('ol.proj.common');
|
||||
goog.require('ol.renderer.Map');
|
||||
goog.require('ol.renderer.canvas.Map');
|
||||
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) {
|
||||
|
||||
@@ -13,10 +13,11 @@
|
||||
@exportProperty ol.ProjectionUnits.METERS
|
||||
|
||||
@exportSymbol ol.proj.addProjection
|
||||
@exportSymbol ol.proj.addCommonProjections
|
||||
@exportSymbol ol.proj.get
|
||||
@exportSymbol ol.proj.getTransform
|
||||
@exportSymbol ol.proj.getTransformFromProjections
|
||||
@exportSymbol ol.proj.transform
|
||||
@exportSymbol ol.proj.transformWithProjections
|
||||
@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.EPSG3857');
|
||||
@@ -8,7 +8,7 @@ goog.require('ol.proj.EPSG4326');
|
||||
/**
|
||||
* 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
|
||||
// projections with equal meaning.
|
||||
ol.proj.addEquivalentProjections(ol.proj.EPSG3857.PROJECTIONS);
|
||||
|
||||
Reference in New Issue
Block a user