Add @api stable annotations for ol.control.MousePosition
This commit is contained in:
+1
-1
@@ -897,7 +897,7 @@ olx.control.FullScreenOptions.prototype.target;
|
|||||||
* projection: ol.proj.ProjectionLike,
|
* projection: ol.proj.ProjectionLike,
|
||||||
* target: (Element|undefined),
|
* target: (Element|undefined),
|
||||||
* undefinedHTML: (string|undefined)}}
|
* undefinedHTML: (string|undefined)}}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.control.MousePositionOptions;
|
olx.control.MousePositionOptions;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ ol.control.MousePositionProperty = {
|
|||||||
* @extends {ol.control.Control}
|
* @extends {ol.control.Control}
|
||||||
* @param {olx.control.MousePositionOptions=} opt_options Mouse position
|
* @param {olx.control.MousePositionOptions=} opt_options Mouse position
|
||||||
* options.
|
* options.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition = function(opt_options) {
|
ol.control.MousePosition = function(opt_options) {
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ ol.control.MousePosition.prototype.handleProjectionChanged_ = function() {
|
|||||||
* @return {ol.CoordinateFormatType|undefined} The format to render the current
|
* @return {ol.CoordinateFormatType|undefined} The format to render the current
|
||||||
* position in.
|
* position in.
|
||||||
* @observable
|
* @observable
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition.prototype.getCoordinateFormat = function() {
|
ol.control.MousePosition.prototype.getCoordinateFormat = function() {
|
||||||
return /** @type {ol.CoordinateFormatType|undefined} */ (
|
return /** @type {ol.CoordinateFormatType|undefined} */ (
|
||||||
@@ -146,7 +146,7 @@ goog.exportProperty(
|
|||||||
* @return {ol.proj.Projection|undefined} The projection to report mouse
|
* @return {ol.proj.Projection|undefined} The projection to report mouse
|
||||||
* position in.
|
* position in.
|
||||||
* @observable
|
* @observable
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition.prototype.getProjection = function() {
|
ol.control.MousePosition.prototype.getProjection = function() {
|
||||||
return /** @type {ol.proj.Projection|undefined} */ (
|
return /** @type {ol.proj.Projection|undefined} */ (
|
||||||
@@ -183,7 +183,7 @@ ol.control.MousePosition.prototype.handleMouseOut = function(browserEvent) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition.prototype.setMap = function(map) {
|
ol.control.MousePosition.prototype.setMap = function(map) {
|
||||||
goog.base(this, 'setMap', map);
|
goog.base(this, 'setMap', map);
|
||||||
@@ -203,7 +203,7 @@ ol.control.MousePosition.prototype.setMap = function(map) {
|
|||||||
* @param {ol.CoordinateFormatType} format The format to render the current
|
* @param {ol.CoordinateFormatType} format The format to render the current
|
||||||
* position in.
|
* position in.
|
||||||
* @observable
|
* @observable
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition.prototype.setCoordinateFormat = function(format) {
|
ol.control.MousePosition.prototype.setCoordinateFormat = function(format) {
|
||||||
this.set(ol.control.MousePositionProperty.COORDINATE_FORMAT, format);
|
this.set(ol.control.MousePositionProperty.COORDINATE_FORMAT, format);
|
||||||
@@ -218,7 +218,7 @@ goog.exportProperty(
|
|||||||
* @param {ol.proj.Projection} projection The projection to report mouse
|
* @param {ol.proj.Projection} projection The projection to report mouse
|
||||||
* position in.
|
* position in.
|
||||||
* @observable
|
* @observable
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.control.MousePosition.prototype.setProjection = function(projection) {
|
ol.control.MousePosition.prototype.setProjection = function(projection) {
|
||||||
this.set(ol.control.MousePositionProperty.PROJECTION, projection);
|
this.set(ol.control.MousePositionProperty.PROJECTION, projection);
|
||||||
|
|||||||
Reference in New Issue
Block a user