Add ol.control.MousePosition.getProjection
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@exportClass ol.control.MousePosition ol.control.MousePositionOptions
|
||||
@exportProperty ol.control.MousePosition.prototype.setMap
|
||||
@exportProperty ol.control.MousePosition.prototype.getProjection
|
||||
@exportProperty ol.control.MousePosition.prototype.setProjection
|
||||
|
||||
@@ -117,6 +117,14 @@ ol.control.MousePosition.prototype.handleMapPostrender = function(mapEvent) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.Projection} projection.
|
||||
*/
|
||||
ol.control.MousePosition.prototype.getProjection = function() {
|
||||
return this.projection_;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {goog.events.BrowserEvent} browserEvent Browser event.
|
||||
* @protected
|
||||
|
||||
Reference in New Issue
Block a user