diff --git a/src/ol/layer/Vector.js b/src/ol/layer/Vector.js index bc4c6c29df..acc1fbf414 100644 --- a/src/ol/layer/Vector.js +++ b/src/ol/layer/Vector.js @@ -42,7 +42,6 @@ import {createDefaultStyle, toFunction as toStyleFunction} from '../style/Style. * means higher priority. * @property {module:ol/style/Style|Array.|module:ol/style/Style~StyleFunction} [style] Layer style. See * {@link module:ol/style} for default style which will be used if this is not defined. - * @property {number} [maxTilesLoading=16] Maximum number tiles to load simultaneously. * @property {boolean} [updateWhileAnimating=false] When set to `true` and `renderMode` * is `vector`, feature batches will be recreated during animations. This means that no * vectors will be shown clipped, but the setting will have a performance impact for large diff --git a/src/ol/layer/VectorTile.js b/src/ol/layer/VectorTile.js index 8e44dd43f2..73ed78813d 100644 --- a/src/ol/layer/VectorTile.js +++ b/src/ol/layer/VectorTile.js @@ -71,7 +71,6 @@ export const RenderType = { * `'hybrid'`. * @property {module:ol/style/Style|Array.|module:ol/style/Style~StyleFunction} [style] Layer style. See * {@link module:ol/style} for default style which will be used if this is not defined. - * @property {number} [maxTilesLoading=16] Maximum number tiles to load simultaneously. * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be * recreated during animations. This means that no vectors will be shown clipped, but the setting * will have a performance impact for large amounts of vector data. When set to `false`, batches diff --git a/src/ol/style/Style.js b/src/ol/style/Style.js index 05d7150d11..27534aefbd 100644 --- a/src/ol/style/Style.js +++ b/src/ol/style/Style.js @@ -7,7 +7,7 @@ * * If no style is defined, the following default style is used: * ```js - * import {Fill, Stroke, Cirle, Style} from 'ol/style'; + * import {Fill, Stroke, Circle, Style} from 'ol/style'; * * var fill = new Fill({ * color: 'rgba(255,255,255,0.4)' @@ -31,7 +31,7 @@ * * A separate editing style has the following defaults: * ```js - * import {Fill, Stroke, Cirle, Style} from 'ol/style'; + * import {Fill, Stroke, Circle, Style} from 'ol/style'; * import GeometryType from 'ol/geom/GeometryType'; * * var white = [255, 255, 255, 1]; @@ -79,8 +79,9 @@ * ]; * styles[GeometryType.MULTI_POINT] = * styles[GeometryType.POINT]; - * styles[GEOMETRY_COLLECTION] = + * styles[GeometryType.GEOMETRY_COLLECTION] = * styles[GeometryType.POLYGON].concat( + * styles[GeometryType.LINE_STRING], * styles[GeometryType.POINT] * ); * ```