Fewer blank lines

This commit is contained in:
Tim Schaub
2016-01-10 08:22:01 -07:00
parent 8d80924ba8
commit 13a981c94b
199 changed files with 1 additions and 247 deletions

View File

@@ -19,7 +19,6 @@ var app = window.app;
//
/**
* @constructor
* @extends {ol.control.Control}

View File

@@ -22,7 +22,6 @@ goog.require('ol.style.Style');
var app = {};
/**
* @constructor
* @extends {ol.interaction.Pointer}

View File

@@ -4,7 +4,6 @@ goog.require('ol.layer.Image');
goog.require('ol.source.ImageWMS');
/**
* Renders a progress bar.
* @param {Element} el The target element.

View File

@@ -7,7 +7,6 @@ goog.require('ol.source.MapQuest');
goog.require('ol.source.TileImage');
var map = new ol.Map({
layers: [
new ol.layer.Tile({

View File

@@ -4,7 +4,6 @@ goog.require('ol.layer.Tile');
goog.require('ol.source.TileJSON');
/**
* Renders a progress bar.
* @param {Element} el The target element.

View File

@@ -10,7 +10,6 @@ goog.require('ol.style.Stroke');
goog.require('ol.style.Style');
var vectorSource = new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: function(extent) {

View File

@@ -9,7 +9,6 @@ goog.require('ol.proj.Projection');
goog.require('ol.source.TileWMS');
// By default OpenLayers does not know about the EPSG:21781 (Swiss) projection.
// So we create a projection instance for EPSG:21781 and pass it to
// ol.proj.addProjection to make it available to the library for lookup by its
@@ -97,7 +96,6 @@ var map = new ol.Map({
});
/*
* Swiss projection transform functions downloaded from
* http://www.swisstopo.admin.ch/internet/swisstopo/en/home/products/software/products/skripts.html

View File

@@ -83,8 +83,7 @@
"proj4": false
},
"rules": {
"no-constant-condition": 0,
"no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}]
"no-constant-condition": 0
}
},
"ext": [

View File

@@ -4,7 +4,6 @@ goog.require('goog.math');
goog.require('ol.TileRange');
/**
* @classdesc
* An attribution for a layer source.

View File

@@ -31,7 +31,6 @@ ol.CollectionEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.Collection} instances are instances of this
@@ -67,7 +66,6 @@ ol.CollectionProperty = {
};
/**
* @classdesc
* An expanded version of standard JS Array, adding convenience methods for

View File

@@ -5,7 +5,6 @@ goog.require('ol.ResolutionConstraintType');
goog.require('ol.RotationConstraintType');
/**
* @constructor
* @param {ol.CenterConstraintType} centerConstraint Center constraint.

View File

@@ -16,7 +16,6 @@ goog.require('ol.css');
goog.require('ol.source.Tile');
/**
* @classdesc
* Control to show all the attributions associated with the layer sources

View File

@@ -7,7 +7,6 @@ goog.require('ol.MapEventType');
goog.require('ol.Object');
/**
* @classdesc
* A control is a visible widget with a DOM element in a fixed position on the

View File

@@ -12,7 +12,6 @@ goog.require('ol.control.Control');
goog.require('ol.css');
/**
* @classdesc
* Provides a button that when clicked fills up the full screen with the map.

View File

@@ -23,7 +23,6 @@ ol.control.MousePositionProperty = {
};
/**
* @classdesc
* A control to show the 2D coordinates of the mouse cursor. By default, these

View File

@@ -23,7 +23,6 @@ goog.require('ol.css');
goog.require('ol.extent');
/**
* Create a new control with a map acting as an overview map for an other
* defined map.

View File

@@ -11,7 +11,6 @@ goog.require('ol.css');
goog.require('ol.easing');
/**
* @classdesc
* A button control to reset rotation to 0.

View File

@@ -37,7 +37,6 @@ ol.control.ScaleLineUnits = {
};
/**
* @classdesc
* A control displaying rough x-axis distances, calculated for the center of the

View File

@@ -9,7 +9,6 @@ goog.require('ol.css');
goog.require('ol.easing');
/**
* @classdesc
* A control with 2 buttons, one for zoom in and one for zoom out.

View File

@@ -21,7 +21,6 @@ goog.require('ol.easing');
goog.require('ol.math');
/**
* @classdesc
* A slider type of control for zooming.

View File

@@ -8,7 +8,6 @@ goog.require('ol.control.Control');
goog.require('ol.css');
/**
* @classdesc
* A button control which, when pressed, changes the map view to a specific

View File

@@ -20,7 +20,6 @@ ol.DeviceOrientationProperty = {
};
/**
* @classdesc
* The ol.DeviceOrientation class provides access to information from

View File

@@ -10,7 +10,6 @@ goog.require('ol.geom.Geometry');
goog.require('ol.style.Style');
/**
* @classdesc
* A vector object for geographic features with a geometry and other

View File

@@ -20,7 +20,6 @@ goog.require('ol.geom.flat.orient');
goog.require('ol.proj');
/**
* @classdesc
* Feature format for reading and writing data in the EsriJSON format.

View File

@@ -4,7 +4,6 @@ goog.require('ol.geom.Geometry');
goog.require('ol.proj');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -18,7 +18,6 @@ goog.require('ol.geom.Polygon');
goog.require('ol.proj');
/**
* @classdesc
* Feature format for reading and writing data in the GeoJSON format.

View File

@@ -9,7 +9,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Feature format for reading and writing data in the GML format,

View File

@@ -23,7 +23,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Feature format for reading and writing data in the GML format
@@ -1324,7 +1323,6 @@ ol.format.GML3.prototype.writeFeaturesNode = function(features, opt_options) {
};
/**
* @classdesc
* Feature format for reading and writing data in the GML format

View File

@@ -24,7 +24,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -15,7 +15,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Feature format for reading and writing data in the GPX format.

View File

@@ -23,7 +23,6 @@ ol.format.IGCZ = {
};
/**
* @classdesc
* Feature format for `*.igc` flight recording files.

View File

@@ -6,7 +6,6 @@ goog.require('ol.format.Feature');
goog.require('ol.format.FormatType');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -57,7 +57,6 @@ ol.format.KMLVec2_;
ol.format.KMLGxTrackObject_;
/**
* @classdesc
* Feature format for reading and writing data in the KML format.

View File

@@ -22,7 +22,6 @@ goog.require('ol.proj.Units');
goog.require('ol.render.Feature');
/**
* @classdesc
* Feature format for reading data in the Mapbox MVT format.

View File

@@ -16,7 +16,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Feature format for reading data in the

View File

@@ -8,7 +8,6 @@ goog.require('ol.format.XSD');
goog.require('ol.xml');
/**
* @constructor
* @extends {ol.format.XML}

View File

@@ -12,7 +12,6 @@ goog.require('ol.geom.flat.inflate');
goog.require('ol.proj');
/**
* @classdesc
* Feature format for reading and writing data in the Encoded

View File

@@ -132,4 +132,3 @@ If, when reading a value from a child element, you find an invalid value, you sh
An `ol.format.Format` should read as many features as it can, skipping features with any errors.

View File

@@ -5,7 +5,6 @@ goog.require('ol.format.Feature');
goog.require('ol.format.FormatType');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -14,7 +14,6 @@ goog.require('ol.geom.Polygon');
goog.require('ol.proj');
/**
* @classdesc
* Feature format for reading data in the TopoJSON format.

View File

@@ -13,7 +13,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Feature format for reading and writing data in the WFS format.

View File

@@ -16,7 +16,6 @@ goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
/**
* @classdesc
* Geometry format for reading and writing data in the `WellKnownText` (WKT)
@@ -387,7 +386,6 @@ ol.format.WKT.TokenType = {
};
/**
* Class to tokenize a WKT string.
* @param {string} wkt WKT string.
@@ -524,7 +522,6 @@ ol.format.WKT.Lexer.prototype.readText_ = function() {
};
/**
* Class to parse the tokens from the WKT string.
* @param {ol.format.WKT.Lexer} lexer The lexer.

View File

@@ -10,7 +10,6 @@ goog.require('ol.format.XSD');
goog.require('ol.xml');
/**
* @classdesc
* Format for reading WMS capabilities data

View File

@@ -9,7 +9,6 @@ goog.require('ol.format.XMLFeature');
goog.require('ol.xml');
/**
* @classdesc
* Format for reading WMSGetFeatureInfo format. It uses

View File

@@ -10,7 +10,6 @@ goog.require('ol.format.XSD');
goog.require('ol.xml');
/**
* @classdesc
* Format for reading WMTS capabilities data.

View File

@@ -10,7 +10,6 @@ goog.require('ol.proj');
goog.require('ol.xml');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -4,7 +4,6 @@ goog.require('goog.asserts');
goog.require('ol.xml');
/**
* @classdesc
* Generic format for reading non-feature XML data

View File

@@ -32,7 +32,6 @@ ol.GeolocationProperty = {
};
/**
* @classdesc
* Helper class for providing HTML5 Geolocation capabilities.

View File

@@ -9,7 +9,6 @@ goog.require('ol.geom.flat.deflate');
goog.require('ol.proj');
/**
* @classdesc
* Circle geometry.

View File

@@ -45,7 +45,6 @@ ol.geom.GeometryLayout = {
};
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -8,7 +8,6 @@ goog.require('ol.geom.Geometry');
goog.require('ol.geom.GeometryType');
/**
* @classdesc
* An array of {@link ol.geom.Geometry} objects.

View File

@@ -11,7 +11,6 @@ goog.require('ol.geom.flat.inflate');
goog.require('ol.geom.flat.simplify');
/**
* @classdesc
* Linear ring geometry. Only used as part of polygon; cannot be rendered

View File

@@ -17,7 +17,6 @@ goog.require('ol.geom.flat.segments');
goog.require('ol.geom.flat.simplify');
/**
* @classdesc
* Linestring geometry.

View File

@@ -16,7 +16,6 @@ goog.require('ol.geom.flat.intersectsextent');
goog.require('ol.geom.flat.simplify');
/**
* @classdesc
* Multi-linestring geometry.

View File

@@ -12,7 +12,6 @@ goog.require('ol.geom.flat.inflate');
goog.require('ol.math');
/**
* @classdesc
* Multi-point geometry.

View File

@@ -22,7 +22,6 @@ goog.require('ol.geom.flat.orient');
goog.require('ol.geom.flat.simplify');
/**
* @classdesc
* Multi-polygon geometry.

View File

@@ -8,7 +8,6 @@ goog.require('ol.geom.flat.deflate');
goog.require('ol.math');
/**
* @classdesc
* Point geometry.

View File

@@ -21,7 +21,6 @@ goog.require('ol.geom.flat.orient');
goog.require('ol.geom.flat.simplify');
/**
* @classdesc
* Polygon geometry.

View File

@@ -9,7 +9,6 @@ goog.require('ol.geom.GeometryLayout');
goog.require('ol.geom.flat.transform');
/**
* @classdesc
* Abstract base class; only used for creating subclasses; do not instantiate

View File

@@ -11,7 +11,6 @@ goog.require('ol.render.EventType');
goog.require('ol.style.Stroke');
/**
* Render a grid for a coordinate system on a map.
* @constructor

View File

@@ -9,7 +9,6 @@ goog.require('ol.ImageState');
goog.require('ol.extent');
/**
* @constructor
* @extends {ol.ImageBase}

View File

@@ -19,7 +19,6 @@ ol.ImageState = {
};
/**
* @constructor
* @extends {goog.events.EventTarget}

View File

@@ -5,7 +5,6 @@ goog.require('ol.ImageBase');
goog.require('ol.ImageState');
/**
* @constructor
* @extends {ol.ImageBase}

View File

@@ -10,7 +10,6 @@ goog.require('ol.TileLoadFunctionType');
goog.require('ol.TileState');
/**
* @constructor
* @extends {ol.Tile}

View File

@@ -6,7 +6,6 @@ goog.require('ol.MapBrowserEvent.EventType');
goog.require('ol.interaction.Interaction');
/**
* @classdesc
* Allows the user to zoom by double-clicking on the map.

View File

@@ -14,7 +14,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.proj');
/**
* @classdesc
* Handles input of vector data by drag and drop.
@@ -198,7 +197,6 @@ ol.interaction.DragAndDropEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.interaction.DragAndDrop} instances are instances

View File

@@ -38,7 +38,6 @@ ol.DragBoxEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.interaction.DragBox} instances are instances of
@@ -83,7 +82,6 @@ goog.inherits(ol.DragBoxEvent, goog.events.Event);
ol.interaction.DragBoxEndConditionType;
/**
* @classdesc
* Allows the user to draw a vector box by clicking and dragging on the map,

View File

@@ -10,7 +10,6 @@ goog.require('ol.events.condition');
goog.require('ol.interaction.Pointer');
/**
* @classdesc
* Allows the user to pan the map by dragging the map.

View File

@@ -9,7 +9,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.Pointer');
/**
* @classdesc
* Allows the user to zoom and rotate the map by clicking and dragging

View File

@@ -8,7 +8,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.Pointer');
/**
* @classdesc
* Allows the user to rotate the map by clicking and dragging on the map,

View File

@@ -8,7 +8,6 @@ goog.require('ol.extent');
goog.require('ol.interaction.DragBox');
/**
* @classdesc
* Allows the user to zoom the map by clicking and dragging on the map,

View File

@@ -49,7 +49,6 @@ ol.interaction.DrawEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.interaction.Draw} instances are instances of
@@ -76,7 +75,6 @@ ol.interaction.DrawEvent = function(type, feature) {
goog.inherits(ol.interaction.DrawEvent, goog.events.Event);
/**
* @classdesc
* Interaction for drawing feature geometries.

View File

@@ -18,7 +18,6 @@ ol.interaction.InteractionProperty = {
};
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -11,7 +11,6 @@ goog.require('ol.events.condition');
goog.require('ol.interaction.Interaction');
/**
* @classdesc
* Allows the user to pan the map using keyboard arrows.

View File

@@ -7,7 +7,6 @@ goog.require('ol.events.condition');
goog.require('ol.interaction.Interaction');
/**
* @classdesc
* Allows the user to zoom the map using keyboard + and -.

View File

@@ -49,7 +49,6 @@ ol.ModifyEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.interaction.Modify} instances are instances of
@@ -94,7 +93,6 @@ goog.inherits(ol.interaction.ModifyEvent, goog.events.Event);
ol.interaction.SegmentDataType;
/**
* @classdesc
* Interaction for modifying feature geometries.

View File

@@ -9,7 +9,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.math');
/**
* @classdesc
* Allows the user to zoom the map by scrolling the mouse wheel.

View File

@@ -10,7 +10,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.Pointer');
/**
* @classdesc
* Allows the user to rotate the map by twisting with two fingers

View File

@@ -10,7 +10,6 @@ goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.Pointer');
/**
* @classdesc
* Allows the user to zoom the map by pinching with two fingers

View File

@@ -9,7 +9,6 @@ goog.require('ol.Pixel');
goog.require('ol.interaction.Interaction');
/**
* @classdesc
* Base class that calls user-defined functions on `down`, `move` and `up`

View File

@@ -43,7 +43,6 @@ ol.interaction.SelectEventType = {
ol.interaction.SelectFilterFunction;
/**
* @classdesc
* Events emitted by {@link ol.interaction.Select} instances are instances of
@@ -85,7 +84,6 @@ ol.interaction.SelectEvent = function(type, selected, deselected, mapBrowserEven
goog.inherits(ol.interaction.SelectEvent, goog.events.Event);
/**
* @classdesc
* Interaction for selecting vector features. By default, selected features are

View File

@@ -23,7 +23,6 @@ goog.require('ol.source.VectorEventType');
goog.require('ol.structs.RBush');
/**
* @classdesc
* Handles snapping of vector features while modifying or drawing them. The

View File

@@ -32,7 +32,6 @@ ol.interaction.TranslateEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.interaction.Translate} instances are instances of
@@ -67,7 +66,6 @@ ol.interaction.TranslateEvent = function(type, features, coordinate) {
goog.inherits(ol.interaction.TranslateEvent, goog.events.Event);
/**
* @classdesc
* Interaction for translating (moving) features.

View File

@@ -5,7 +5,6 @@ goog.require('ol.PreRenderFunction');
goog.require('ol.animation');
/**
* @classdesc
* Implementation of inertial deceleration for map movement.

View File

@@ -23,7 +23,6 @@ ol.layer.HeatmapLayerProperty = {
};
/**
* @classdesc
* Layer for rendering vector data as a heatmap.

View File

@@ -3,7 +3,6 @@ goog.provide('ol.layer.Image');
goog.require('ol.layer.Layer');
/**
* @classdesc
* Server-rendered images that are available for arbitrary extents and

View File

@@ -11,7 +11,6 @@ goog.require('ol.render.EventType');
goog.require('ol.source.State');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -37,7 +37,6 @@ ol.layer.LayerProperty = {
ol.layer.LayerState;
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -22,7 +22,6 @@ ol.layer.GroupProperty = {
};
/**
* @classdesc
* A {@link ol.Collection} of layers that are handled together.

View File

@@ -14,7 +14,6 @@ ol.layer.TileProperty = {
};
/**
* @classdesc
* For layer sources that provide pre-rendered, tiled images in grids that are

View File

@@ -15,7 +15,6 @@ ol.layer.VectorProperty = {
};
/**
* @classdesc
* Vector data that is rendered client-side.

View File

@@ -13,7 +13,6 @@ ol.layer.VectorTileProperty = {
};
/**
* @classdesc
* Layer for vector tile data that is rendered client-side.

View File

@@ -119,7 +119,6 @@ ol.MapProperty = {
};
/**
* @classdesc
* The map is the core component of OpenLayers. For a map to render, a view,

View File

@@ -17,7 +17,6 @@ goog.require('ol.pointer.PointerEvent');
goog.require('ol.pointer.PointerEventHandler');
/**
* @classdesc
* Events emitted as map browser events are instances of this type.
@@ -102,7 +101,6 @@ ol.MapBrowserEvent.prototype.stopPropagation = function() {
};
/**
* @constructor
* @extends {ol.MapBrowserEvent}
@@ -128,7 +126,6 @@ ol.MapBrowserPointerEvent = function(type, map, pointerEvent, opt_dragging,
goog.inherits(ol.MapBrowserPointerEvent, ol.MapBrowserEvent);
/**
* @param {ol.Map} map The map with the viewport to listen to events on.
* @constructor

View File

@@ -26,7 +26,6 @@ ol.MapEventType = {
};
/**
* @classdesc
* Events emitted as map events are instances of this type.

View File

@@ -20,7 +20,6 @@ ol.ObjectEventType = {
};
/**
* @classdesc
* Events emitted by {@link ol.Object} instances are instances of this type.
@@ -54,7 +53,6 @@ ol.ObjectEvent = function(type, key, oldValue) {
goog.inherits(ol.ObjectEvent, goog.events.Event);
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -5,7 +5,6 @@ goog.require('goog.events.EventTarget');
goog.require('goog.events.EventType');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not

View File

@@ -47,7 +47,6 @@ ol.OverlayPositioning = {
};
/**
* @classdesc
* An element to be displayed over the map and attached to a single map

View File

@@ -3,7 +3,6 @@ goog.provide('ol.pointer.EventSource');
goog.require('goog.events.BrowserEvent');
/**
* @param {ol.pointer.PointerEventHandler} dispatcher Event handler.
* @param {!Object.<string, function(goog.events.BrowserEvent)>} mapping Event

View File

@@ -33,7 +33,6 @@ goog.provide('ol.pointer.MouseSource');
goog.require('ol.pointer.EventSource');
/**
* @param {ol.pointer.PointerEventHandler} dispatcher Event handler.
* @constructor

Some files were not shown because too many files have changed in this diff Show More