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
28818e5b4e
Replace Bing layers with MapTiler
2019-11-26 17:06:14 +00:00
mike-000
c66347c365
Update side-by-side.js
2019-07-26 16:31:20 +01:00
mike-000
576fc6a82e
Update side-by-side.js
2019-07-26 14:23:49 +01:00
mike-000
1e1a6d0939
Update side-by-side.js
2019-07-26 14:17:42 +01:00
mike-000
ac9b435a74
Create side-by-side.js
2019-07-26 13:36:51 +01:00
Olivier Guyot
7fa2189fe9
Remove the bulk of the WebGL legacy code.
...
Things left to do:
* redo an icon layer example
* redo a clipping layer example
* update docs where WebGL renderers are mentioned
2018-11-16 14:02:08 +01:00
Tim Schaub
c50b9b2c25
Fix examples that use WebGLMap
2018-11-12 14:54:11 +01:00
Tim Schaub
c5f81d8bbe
Register layer renderers with the map renderer
2018-04-14 10:31:10 -06:00
Tim Schaub
9cfee0f40b
Named exports from ol/has
2018-02-05 10:42:47 -07: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
5f62d2ecfe
Rename _ol_source_OSM_ to OSM
2018-01-10 09:36:28 -07:00
Tim Schaub
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07: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
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1674fcc680
Fall back to canvas to preserve old behavior
2017-08-15 15:37:37 -04:00
Peter Robins
d4024846cf
Remove plain string from Map renderer option
...
To get this to compile with the examples, typecasts have to be added to Map renderer options.
2016-09-16 15:43:20 +00:00
Tim Schaub
c469241bee
Update the side-by-side example
2016-09-01 07:30:29 -06:00
Bart van den Eijnden
ed80d243fb
Remove MapQuest source
2016-07-01 11:38:52 +02:00
Tim Schaub
8c38d22b60
Lint free examples
2016-01-11 18:56:09 -08:00
Tim Schaub
89f5e711e6
Example sources in the examples dir
2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd
Build and parse examples from examples_src/
2015-04-02 19:10:09 +02:00
Tim Schaub
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Peter Robins
e35531e7c6
Rename BrowserFeature to browserfeature
2014-08-15 13:53:20 +00:00
Tim Schaub
47d37fabea
Rename ol.View2D to ol.View
2014-06-27 09:59:39 -04:00
Tim Schaub
5653d57712
Change default renderer to Canvas
2014-04-02 11:43:20 -06:00
Tom Payne
a58aa0a40d
Use string instead of ol.RendererHint enum in examples
2014-02-06 22:33:25 +01:00
Frederic Junod
f058d54277
Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example
2014-01-14 09:46:02 +01:00
Bart van den Eijnden
78d20056f5
update all the other examples that used MapQuest
2014-01-08 13:36:35 +01:00
Éric Lemoine
79718151b7
Add ol.BrowserFeature.HAS_WEBGL
2013-12-18 11:20:13 +01:00
Tim Schaub
54738e29eb
Export ol.webgl.SUPPORTED and provide ol.webgl
2013-09-15 15:51:17 -06:00
Tom Payne
8f8f94e697
Rename ol.layer.TileLayer to ol.layer.Tile
2013-09-09 15:14:45 +02:00
Frederic Junod
aa823e2b28
Better user notification if WebGL is not supported
2013-09-06 22:36:39 +02:00
Frederic Junod
169e66835d
Bind to layergroup instead of layers
2013-09-06 18:17:12 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Tom Payne
422ed4bd43
Clean up side-by-side example
2013-03-22 14:39:17 +01:00
Bruno Binet
9b1c389c80
Remove unused goog.require directives
2013-03-14 11:39:43 +01:00
Tom Payne
21d34f1cc8
Rename projection functions for a friendlier API
...
The following functions are renamed:
getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform
With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Frederic Junod
feb03b8cda
Change opacity step value in side-by-side example
...
Avoid rounding issue (0.1 in binary format). fixes #299
2013-03-07 10:14:39 +01:00
Tom Payne
3c701067b3
Remove animations from side-by-side example
2013-03-07 02:58:00 +01:00
Tom Payne
50cb6294ee
Remove brightness/contrast from side-by-side example
2013-03-07 01:56:41 +01:00
Tom Payne
8ab00689b2
Remove hue/saturation from side-by-side example
2013-03-07 01:56:41 +01:00
Tom Payne
fe7f112c41
Remove mouse position control from side-by-side example
2013-03-06 20:57:48 +01:00
Tom Payne
363cb87e1a
Use an array to specify additional controls
2013-03-06 13:19:34 +01:00
Tom Payne
a94eadf402
Port examples to ol.control.defaults
2013-03-06 12:36:49 +01:00
Éric Lemoine
01d49ef9c9
Remove references to goog in examples
2013-03-03 17:01:37 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00
Frederic Junod
5ccf94a395
Do not use goog.now() in the examples (see #229 )
2013-02-27 13:58:30 +01:00
Éric Lemoine
5f5e14f253
Merge pull request #175 from elemoine/control
...
Simplify control architecture
2013-02-08 14:56:19 -08:00