diff --git a/examples/ogc-map-tiles-geographic.html b/examples/ogc-map-tiles-geographic.html index f54bebb0ea..6a3e202709 100644 --- a/examples/ogc-map-tiles-geographic.html +++ b/examples/ogc-map-tiles-geographic.html @@ -3,7 +3,9 @@ layout: example.html title: OGC Map Tiles (Geographic) shortdesc: Rendering map tiles from an OGC API – Tiles service. docs: > - The OGC API – Tiles specification describes how a service can provide map tiles. + The OGC API – Tiles specification describes how a service can provide map tiles. Because the specification + has not yet been finalized, the OGCMapTile source is not yet part of the stable API. tags: "ogc" +experimental: true ---
diff --git a/examples/ogc-map-tiles.html b/examples/ogc-map-tiles.html index 7054fe6c3a..85ae0d4d76 100644 --- a/examples/ogc-map-tiles.html +++ b/examples/ogc-map-tiles.html @@ -3,7 +3,9 @@ layout: example.html title: OGC Map Tiles shortdesc: Rendering map tiles from an OGC API – Tiles service. docs: > - The OGC API – Tiles specification describes how a service can provide map tiles. + The OGC API – Tiles specification describes how a service can provide map tiles. Because the specification + has not yet been finalized, the OGCMapTile source is not yet part of the stable API. tags: "ogc" +experimental: true ---
diff --git a/examples/ogc-vector-tiles.html b/examples/ogc-vector-tiles.html index e9d562f457..f0b84d6a59 100644 --- a/examples/ogc-vector-tiles.html +++ b/examples/ogc-vector-tiles.html @@ -3,7 +3,9 @@ layout: example.html title: OGC Vector Tiles shortdesc: Rendering vector tiles from an OGC API – Tiles service. docs: > - The OGC API – Tiles specification describes how a service can provide vector tiles. + The OGC API – Tiles specification describes how a service can provide vector tiles. Because the specification + has not yet been finalized, the OGCVectorTile source is not yet part of the stable API. tags: "ogc, vector" +experimental: true ---
diff --git a/src/ol/source/OGCMapTile.js b/src/ol/source/OGCMapTile.js index 1ff2702765..6b1e557db8 100644 --- a/src/ol/source/OGCMapTile.js +++ b/src/ol/source/OGCMapTile.js @@ -36,10 +36,9 @@ import {getTileSetInfo} from './ogcTileUtil.js'; /** * @classdesc - * Layer source for map tiles from an OGC API - Tiles service that provides "map" type tiles. + * Layer source for map tiles from an [OGC API - Tiles](https://ogcapi.ogc.org/tiles/) service that provides "map" type tiles. * The service must conform to at least the core (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core) * and tileset (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset) conformance classes. - * @api */ class OGCMapTile extends TileImage { /** @@ -86,7 +85,7 @@ class OGCMapTile extends TileImage { * @param {Error} error The error. */ handleError_(error) { - console.error(error); // eslint-disable-line + console.error(error); // eslint-disable-line no-console this.setState(SourceState.ERROR); } } diff --git a/src/ol/source/OGCVectorTile.js b/src/ol/source/OGCVectorTile.js index 04193d07ac..b6e75cb8d5 100644 --- a/src/ol/source/OGCVectorTile.js +++ b/src/ol/source/OGCVectorTile.js @@ -36,6 +36,12 @@ import {getTileSetInfo} from './ogcTileUtil.js'; * zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}. */ +/** + * @classdesc + * Layer source for map tiles from an [OGC API - Tiles](https://ogcapi.ogc.org/tiles/) service that provides "vector" type tiles. + * The service must conform to at least the core (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core) + * and tileset (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset) conformance classes. + */ class OGCVectorTile extends VectorTile { /** * @param {Options} options OGC vector tile options. @@ -82,7 +88,7 @@ class OGCVectorTile extends VectorTile { * @param {Error} error The error. */ handleError_(error) { - console.error(error); // eslint-disable-line + console.error(error); // eslint-disable-line no-console this.setState(SourceState.ERROR); } } diff --git a/test/node/ol/source/ogcTileUtil.test.js b/test/node/ol/source/ogcTileUtil.test.js index 570dd184a2..21fcb1715b 100644 --- a/test/node/ol/source/ogcTileUtil.test.js +++ b/test/node/ol/source/ogcTileUtil.test.js @@ -46,7 +46,7 @@ class MockXHR extends events.EventEmitter { this.emit('load', {target: this}); }, (err) => { - console.error(err); // eslint-disable-line + console.error(err); // eslint-disable-line no-console this.emit('error', {target: this}); } );