Commit Graph

48 Commits

Author SHA1 Message Date
Frederic Junod
6d04c360be Fix attributions links for WMS layers from swisstopo 2020-12-01 13:48:32 +01:00
mike-000
9e8d49e485 Display current OS copyright date
Display current OS copyright date to keep up with source updates https://www.arcgis.com/home/item.html?id=7561029c176d43d09a5aa1180ada309a
Increase EPSG:27700 extent beyond the usual definition to the visible extent of the OS Overview layer
2020-09-27 15:14:59 +01:00
Petr Sloup
84ae3d16a6 Replace/remove usage of tileserver.maptiler.com 2020-07-22 09:55:27 +02:00
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
mike-000
cf72a649cc Replace BNG layer source
The MapTiler MiniScale source used for the BNG layer is no longer working.  The data continues to be available via ESRI UK https://www.arcgis.com/home/item.html?id=5b5ff94ca7414a26b75e0d337a023d38
2019-11-08 15:52:39 +00:00
Frederic Junod
cd3e65e3df Remove unneeded type cast in examples 2018-12-07 09:55:09 +01:00
Frederic Junod
4a3f70c09b Revert "Simplify import path in examples"
This reverts commit 79c8afdba8.
2018-11-27 16:49:55 +01:00
Frederic Junod
79c8afdba8 Simplify import path in examples
To have the same path (starting with `ol/`, without `.js`) as in the documentation.
The support was added in the webpack config in #8928
2018-11-26 17:18:52 +01:00
Tim Schaub
a5d3e91f7d Re-export source constructors from ol/source 2018-04-23 17:34:10 -06:00
Tim Schaub
c75b87a2a0 Correct type for WMTS source options 2018-04-19 18:11:22 -06:00
Tim Schaub
00f891c3f9 Named exports from ol/source/WMTS 2018-02-25 08:06:50 -07:00
Nicholas L
7097b530f3 Rename extent 2018-02-19 20:33:03 +13:00
Frederic Junod
106fe3c138 Rename _ol_format_WMTSCapabilities_ to WMTSCapabilities 2018-01-15 10:26:36 +01:00
Tim Schaub
ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
2440d52ebe Rename _ol_source_WMTS_ to WMTS 2018-01-10 09:36:29 -07:00
Tim Schaub
32ee149909 Rename _ol_source_TileWMS_ to TileWMS 2018-01-10 09:36:29 -07:00
Tim Schaub
5f62d2ecfe Rename _ol_source_OSM_ to OSM 2018-01-10 09:36:28 -07:00
Tim Schaub
8c0a06b56a Rename _ol_source_XYZ_ to XYZ 2018-01-10 09:36:28 -07:00
Tim Schaub
a66128caa9 Rename _ol_source_TileImage_ to TileImage 2018-01-10 09:36:28 -07:00
Tim Schaub
1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Frederic Junod
297c9e45ab Rename _ol_tilegrid_TileGrid_ to TileGrid 2017-12-22 10:56:20 +01:00
Ron Young
b8b64ac655 rename in examples 2017-12-21 23:11:42 -07:00
Marc Jansen
25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Andreas Hocevar
5c5664ec30 Use proj4 from the proj4 package instead of the global 2017-12-16 01:27:43 +01:00
Andreas Hocevar
9f1ebbb852 Add and use new proj4.register function 2017-12-15 19:17:29 +01:00
Tim Schaub
6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Andreas Hocevar
5a4887e300 Remove default export from ol/extent 2017-12-13 22:05:10 +01:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Frederic Junod
b1f38ea0e8 Fix spelling 2017-04-24 08:58:19 +02:00
Andreas Hocevar
2dcecb9d59 Use GeoServer/GWC caching when possible 2017-03-21 16:17:43 +01:00
Frederic Junod
2e22fce718 Return null if the layer was not found in the WMTS capabilities 2017-03-08 15:29:26 +01:00
Andreas Hocevar
1181607f39 Use a https enabled GeoServer 2016-10-17 19:53:52 +02:00
Tim Schaub
c016a497c3 Use https for map1.vis.earthdata.nasa.gov 2016-10-16 00:44:10 -06:00
Peter Robins
7d5635092a Remove getRendererFromQueryString from examples 2016-09-16 09:34:30 +00:00
Frederic Junod
bd635ed01f Load the examples resources with HTTPS 2016-08-23 13:52:16 +02:00
Petr Sloup
cf7bed7887 Fix protocol in examples
tileserver.maptiler.com now uses HTTPS
2016-08-23 12:49:00 +02:00
Tim Schaub
29990abc7e Remove unused goog.requires() from the examples (minus MVT examples) 2016-08-08 09:58:11 -06:00
Bart van den Eijnden
ed80d243fb Remove MapQuest source 2016-07-01 11:38:52 +02:00
Marc Jansen
5b43e8a31e Use simple forms to create attributions in examples 2016-03-11 09:04:06 +01:00
Frederic Junod
1f04495dc3 Change layers type to Object in reprojection example 2016-02-22 10:05:05 +01:00
Tim Schaub
8c38d22b60 Lint free examples 2016-01-11 18:56:09 -08:00
Tim Schaub
c984bedd09 Convert R examples to strapless template 2015-11-18 09:56:14 -07:00
Petr Sloup
c6e2c6a16e Add demonstration of layer extent setting to reprojection example 2015-10-16 09:28:43 +02:00
Petr Sloup
6431622881 Use better URL for BNG tiles in reprojection example 2015-10-16 09:28:43 +02:00
Petr Sloup
00a8b4da16 Increase readability of reprojection example
Use map/layer terminology more clearly and clarify checkbox usage
2015-10-16 09:28:43 +02:00
Petr Sloup
402697c369 Specify crossOrigin in reprojection examples to fix WebGL errors 2015-10-16 09:28:42 +02:00
Petr Sloup
76974a5888 Minor improvements of reprojection examples 2015-10-16 09:28:42 +02:00
Petr Sloup
87337570e0 Add reprojection example for tiled raster sources 2015-10-16 09:28:42 +02:00