Skip to content

Commit

Permalink
Add stable tags to ol.Map
Browse files Browse the repository at this point in the history
  • Loading branch information
elemoine committed Jun 19, 2014
1 parent 601f0d8 commit b40a699
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/ol/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ ol.MapProperty = {
* @fires ol.MapEvent
* @fires ol.render.Event#postcompose
* @fires ol.render.Event#precompose
* @todo api
* @todo api stable
*/
ol.Map = function(options) {

Expand Down Expand Up @@ -457,7 +457,7 @@ goog.inherits(ol.Map, ol.Object);
/**
* Add the given control to the map.
* @param {ol.control.Control} control Control.
* @todo api
* @todo api stable
*/
ol.Map.prototype.addControl = function(control) {
var controls = this.getControls();
Expand All @@ -469,7 +469,7 @@ ol.Map.prototype.addControl = function(control) {
/**
* Add the given interaction to the map.
* @param {ol.interaction.Interaction} interaction Interaction to add.
* @todo api
* @todo api stable
*/
ol.Map.prototype.addInteraction = function(interaction) {
var interactions = this.getInteractions();
Expand All @@ -481,7 +481,7 @@ ol.Map.prototype.addInteraction = function(interaction) {
/**
* Adds the given layer to the top of this map.
* @param {ol.layer.Base} layer Layer.
* @todo api
* @todo api stable
*/
ol.Map.prototype.addLayer = function(layer) {
var layers = this.getLayerGroup().getLayers();
Expand All @@ -493,7 +493,7 @@ ol.Map.prototype.addLayer = function(layer) {
/**
* Add the given overlay to the map.
* @param {ol.Overlay} overlay Overlay.
* @todo api
* @todo api stable
*/
ol.Map.prototype.addOverlay = function(overlay) {
var overlays = this.getOverlays();
Expand All @@ -507,7 +507,7 @@ ol.Map.prototype.addOverlay = function(overlay) {
* animations before updating the map's view. The {@link ol.animation}
* namespace provides several static methods for creating prerender functions.
* @param {...ol.PreRenderFunction} var_args Any number of pre-render functions.
* @todo api
* @todo api stable
*/
ol.Map.prototype.beforeRender = function(var_args) {
this.render();
Expand Down Expand Up @@ -546,7 +546,7 @@ ol.Map.prototype.disposeInternal = function() {
* @param {U=} opt_this2 Value to use as `this` when executing `layerFilter`.
* @return {T|undefined} Callback result.
* @template S,T,U
* @todo api
* @todo api stable
*/
ol.Map.prototype.forEachFeatureAtPixel =
function(pixel, callback, opt_this, opt_layerFilter, opt_this2) {
Expand All @@ -568,7 +568,7 @@ ol.Map.prototype.forEachFeatureAtPixel =
* Returns the geographical coordinate for a browser event.
* @param {Event} event Event.
* @return {ol.Coordinate} Coordinate.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getEventCoordinate = function(event) {
return this.getCoordinateFromPixel(this.getEventPixel(event));
Expand All @@ -579,7 +579,7 @@ ol.Map.prototype.getEventCoordinate = function(event) {
* Returns the map pixel position for a browser event.
* @param {Event} event Event.
* @return {ol.Pixel} Pixel.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getEventPixel = function(event) {
// goog.style.getRelativePosition is based on event.targetTouches,
Expand Down Expand Up @@ -608,7 +608,7 @@ ol.Map.prototype.getEventPixel = function(event) {
* @return {Element|string|undefined} The Element or id of the Element that the
* map is rendered in.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.getTarget = function() {
return /** @type {Element|string|undefined} */ (
Expand All @@ -623,7 +623,7 @@ goog.exportProperty(
/**
* @param {ol.Pixel} pixel Pixel.
* @return {ol.Coordinate} Coordinate.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getCoordinateFromPixel = function(pixel) {
var frameState = this.frameState_;
Expand All @@ -638,7 +638,7 @@ ol.Map.prototype.getCoordinateFromPixel = function(pixel) {

/**
* @return {ol.Collection} Controls.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getControls = function() {
return this.controls_;
Expand All @@ -647,7 +647,7 @@ ol.Map.prototype.getControls = function() {

/**
* @return {ol.Collection} Overlays.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getOverlays = function() {
return this.overlays_;
Expand All @@ -661,7 +661,7 @@ ol.Map.prototype.getOverlays = function() {
*
* Interactions are used for e.g. pan, zoom and rotate.
* @return {ol.Collection} {@link ol.interaction.Interaction Interactions}.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getInteractions = function() {
return this.interactions_;
Expand All @@ -672,7 +672,7 @@ ol.Map.prototype.getInteractions = function() {
* Get the layergroup associated with this map.
* @return {ol.layer.Group} A layer group containing the layers in this map.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.getLayerGroup = function() {
return /** @type {ol.layer.Group} */ (
Expand All @@ -687,7 +687,7 @@ goog.exportProperty(
/**
* Get the collection of layers associated with this map.
* @return {ol.Collection|undefined} Layers.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getLayers = function() {
var layerGroup = this.getLayerGroup();
Expand All @@ -702,7 +702,7 @@ ol.Map.prototype.getLayers = function() {
/**
* @param {ol.Coordinate} coordinate Coordinate.
* @return {ol.Pixel} Pixel.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getPixelFromCoordinate = function(coordinate) {
var frameState = this.frameState_;
Expand All @@ -728,7 +728,7 @@ ol.Map.prototype.getRenderer = function() {
* Get the size of this map.
* @return {ol.Size|undefined} The size in pixels of the map in the DOM.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.getSize = function() {
return /** @type {ol.Size|undefined} */ (this.get(ol.MapProperty.SIZE));
Expand All @@ -744,7 +744,7 @@ goog.exportProperty(
* view manages properties such as center and resolution.
* @return {ol.IView|undefined} The view that controls this map.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.getView = function() {
return /** @type {ol.IView} */ (this.get(ol.MapProperty.VIEW));
Expand All @@ -757,7 +757,7 @@ goog.exportProperty(

/**
* @return {Element} Viewport.
* @todo api
* @todo api stable
*/
ol.Map.prototype.getViewport = function() {
return this.viewport_;
Expand Down Expand Up @@ -1067,7 +1067,7 @@ ol.Map.prototype.isRendered = function() {

/**
* Requests an immediate render in a synchronous manner.
* @todo api
* @todo api stable
*/
ol.Map.prototype.renderSync = function() {
this.animationDelay_.fire();
Expand All @@ -1077,7 +1077,7 @@ ol.Map.prototype.renderSync = function() {
/**
* Requests a render frame; rendering will effectively occur at the next browser
* animation frame.
* @todo api
* @todo api stable
*/
ol.Map.prototype.render = function() {
if (!this.animationDelay_.isActive()) {
Expand All @@ -1091,7 +1091,7 @@ ol.Map.prototype.render = function() {
* @param {ol.control.Control} control Control.
* @return {ol.control.Control|undefined} The removed control of undefined
* if the control was not found.
* @todo api
* @todo api stable
*/
ol.Map.prototype.removeControl = function(control) {
var controls = this.getControls();
Expand All @@ -1108,7 +1108,7 @@ ol.Map.prototype.removeControl = function(control) {
* @param {ol.interaction.Interaction} interaction Interaction to remove.
* @return {ol.interaction.Interaction|undefined} The removed interaction (or
* undefined if the interaction was not found).
* @todo api
* @todo api stable
*/
ol.Map.prototype.removeInteraction = function(interaction) {
var removed;
Expand All @@ -1126,7 +1126,7 @@ ol.Map.prototype.removeInteraction = function(interaction) {
* @param {ol.layer.Base} layer Layer.
* @return {ol.layer.Base|undefined} The removed layer or undefined if the
* layer was not found.
* @todo api
* @todo api stable
*/
ol.Map.prototype.removeLayer = function(layer) {
var layers = this.getLayerGroup().getLayers();
Expand All @@ -1140,7 +1140,7 @@ ol.Map.prototype.removeLayer = function(layer) {
* @param {ol.Overlay} overlay Overlay.
* @return {ol.Overlay|undefined} The removed overlay of undefined
* if the overlay was not found.
* @todo api
* @todo api stable
*/
ol.Map.prototype.removeOverlay = function(overlay) {
var overlays = this.getOverlays();
Expand Down Expand Up @@ -1267,7 +1267,7 @@ ol.Map.prototype.renderFrame_ = function(time) {
* @param {ol.layer.Group} layerGroup A layer group containing the layers in
* this map.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.setLayerGroup = function(layerGroup) {
this.set(ol.MapProperty.LAYERGROUP, layerGroup);
Expand Down Expand Up @@ -1298,7 +1298,7 @@ goog.exportProperty(
* @param {Element|string|undefined} target The Element or id of the Element
* that the map is rendered in.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.setTarget = function(target) {
this.set(ol.MapProperty.TARGET, target);
Expand All @@ -1313,7 +1313,7 @@ goog.exportProperty(
* Set the view for this map.
* @param {ol.IView} view The view that controls this map.
* @todo observable
* @todo api
* @todo api stable
*/
ol.Map.prototype.setView = function(view) {
this.set(ol.MapProperty.VIEW, view);
Expand All @@ -1337,7 +1337,7 @@ ol.Map.prototype.skipFeature = function(feature) {
/**
* Force a recalculation of the map viewport size. This should be called when
* third-party code changes the size of the map viewport.
* @todo api
* @todo api stable
*/
ol.Map.prototype.updateSize = function() {
var target = this.getTarget();
Expand Down

0 comments on commit b40a699

Please sign in to comment.