Merge pull request #959 from probins/controlexamples

Out-of-date examples in control api docs
This commit is contained in:
Éric Lemoine
2013-09-02 05:10:47 -07:00
3 changed files with 0 additions and 26 deletions

View File

@@ -17,14 +17,6 @@ goog.require('ol.css');
* Provides a button that when clicked fills up the full screen with the map.
* When in full screen mode, a close button is shown to exit full screen mode.
*
* Example:
*
* var map = new ol.Map({
* controls: ol.control.defaults({}, [
* new ol.control.FullScreen()
* ]),
* ...
*
* @constructor
* @extends {ol.control.Control}
* @param {ol.control.FullScreenOptions=} opt_options Options.

View File

@@ -34,14 +34,6 @@ ol.control.MousePositionProperty = {
* shown in the top right corner of the map but this can be changed by using
* a css selector .ol-mouse-position.
*
* Example:
*
* var map = new ol.Map({
* controls: ol.control.defaults({}, [
* new ol.control.MousePosition({projection: ol.proj.get('EPSG:4326')})
* ]),
* ...
*
* @constructor
* @extends {ol.control.Control}
* @param {ol.control.MousePositionOptions=} opt_options Mouse position options.

View File

@@ -43,16 +43,6 @@ ol.control.ScaleLineUnits = {
/**
* Create a control to help users estimate distances on a map.
*
* Example:
*
* var map = new ol.Map({
* controls: ol.control.defaults({}, [
* new ol.control.ScaleLine({
* units: ol.control.ScaleLineUnits.IMPERIAL
* })
* ]),
* ...
*
* @constructor
* @extends {ol.control.Control}
* @param {ol.control.ScaleLineOptions=} opt_options Scale line options.