Use olx namespace for options types in source code
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
This commit is contained in:
@@ -21,7 +21,7 @@ goog.require('ol.css');
|
||||
* be changed by using a css selector for `.ol-attribution`.
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.AttributionOptions=} opt_options Attribution options.
|
||||
* @param {olx.control.AttributionOptions=} opt_options Attribution options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.Attribution = function(opt_options) {
|
||||
|
||||
@@ -15,7 +15,7 @@ goog.require('ol.Object');
|
||||
* @constructor
|
||||
* @extends {ol.Object}
|
||||
* @implements {oli.control.Control}
|
||||
* @param {ol.control.ControlOptions} options Control options.
|
||||
* @param {olx.control.ControlOptions} options Control options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.Control = function(options) {
|
||||
|
||||
@@ -7,7 +7,7 @@ goog.require('ol.control.Zoom');
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.control.DefaultsOptions=} opt_options Defaults options.
|
||||
* @param {olx.control.DefaultsOptions=} opt_options Defaults options.
|
||||
* @return {ol.Collection} Controls.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ ol.control.DragBoxOptions;
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.DragBoxOptions} options Drag box options.
|
||||
* @param {olx.control.DragBoxOptions} options Drag box options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.DragBox = function(options) {
|
||||
|
||||
@@ -22,7 +22,7 @@ goog.require('ol.css');
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.FullScreenOptions=} opt_options Options.
|
||||
* @param {olx.control.FullScreenOptions=} opt_options Options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.FullScreen = function(opt_options) {
|
||||
|
||||
@@ -17,7 +17,7 @@ goog.require('ol.css');
|
||||
* be styled by using a css selector for `.ol-logo`.
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.LogoOptions=} opt_options Logo options.
|
||||
* @param {olx.control.LogoOptions=} opt_options Logo options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.Logo = function(opt_options) {
|
||||
|
||||
@@ -36,7 +36,7 @@ ol.control.MousePositionProperty = {
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.MousePositionOptions=} opt_options Mouse position options.
|
||||
* @param {olx.control.MousePositionOptions=} opt_options Mouse position options.
|
||||
* @todo stability experimental
|
||||
* @todo observable projection {ol.proj.Projection} the projection to report
|
||||
* mouse position in
|
||||
|
||||
@@ -49,7 +49,7 @@ ol.control.ScaleLineUnits = {
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.ScaleLineOptions=} opt_options Scale line options.
|
||||
* @param {olx.control.ScaleLineOptions=} opt_options Scale line options.
|
||||
* @todo stability experimental
|
||||
* @todo observable units {ol.control.ScaleLineUnits} the units to use in the
|
||||
* scale line
|
||||
|
||||
@@ -19,7 +19,7 @@ goog.require('ol.easing');
|
||||
* use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.ZoomOptions=} opt_options Zoom options.
|
||||
* @param {olx.control.ZoomOptions=} opt_options Zoom options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.Zoom = function(opt_options) {
|
||||
|
||||
@@ -37,7 +37,7 @@ ol.control.ZOOMSLIDER_ANIMATION_DURATION = 200;
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.ZoomSliderOptions=} opt_options Zoom slider options.
|
||||
* @param {olx.control.ZoomSliderOptions=} opt_options Zoom slider options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.ZoomSlider = function(opt_options) {
|
||||
|
||||
@@ -17,7 +17,7 @@ goog.require('ol.css');
|
||||
* css selector `.ol-zoom-extent`.
|
||||
* @constructor
|
||||
* @extends {ol.control.Control}
|
||||
* @param {ol.control.ZoomToExtentOptions=} opt_options Options.
|
||||
* @param {olx.control.ZoomToExtentOptions=} opt_options Options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.control.ZoomToExtent = function(opt_options) {
|
||||
|
||||
Reference in New Issue
Block a user