mike-000
4eacc92f7f
remove range change event
2022-08-03 17:14:43 +01:00
mike-000
cb6995d71a
Various fixes for browser compatibility issues ( #12740 )
...
* Replace Math.log2 with ol/math.log2
* TypedArray.from() browser compatibility fallback
* listen for input and change events for range
2021-09-15 08:45:12 -06:00
mike-000
31678972e5
fix typo
...
Co-authored-by: EvertEt <evert.etienne@gmail.com >
2021-05-26 14:11:33 +01:00
mike-000
599e3f18c1
Use calculateElevation function
2021-05-26 13:53:53 +01: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
ahocevar
887d8e8a90
Disable opacity transition for raster source sources
2019-04-17 17:38:50 -07: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
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Frederic Junod
7f0043694d
Remove NOCOMPILE from examples
2018-05-14 14:42:57 +02:00
Tim Schaub
910004b940
Re-export layer constructors from ol/layer
2018-04-24 09:06:30 -06:00
Tim Schaub
a5d3e91f7d
Re-export source constructors from ol/source
2018-04-23 17:34:10 -06: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
8c0a06b56a
Rename _ol_source_XYZ_ to XYZ
2018-01-10 09:36:28 -07:00
Tim Schaub
453b79dad7
Rename _ol_layer_Image_ to ImageLayer
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
259ecd0f79
Don't store private functions and variables into RasterSource
2017-12-22 09:31:43 +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
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
373179ad82
Avoid unnecessary transition on raster sources
2017-10-09 18:24:21 -06:00
Tim Schaub
bc01fdb59a
Return ImageData-like objects for IE support
2016-03-01 13:34:50 -07:00
Tim Schaub
baed03d50d
Convert S-T examples to strapless template
2015-11-18 09:56:15 -07:00
Frederic Junod
d702aad450
Fix return annotation in shaded-relief example
2015-09-07 14:48:48 +02:00
Tim Schaub
860fdabd76
Simplify raster sources by working with a single operation
2015-08-03 20:10:46 -06:00
Tim Schaub
f1ff39cc8b
Avoid compiling the shaded relief example
...
The compiler doesn't support the use of the ImageData constructor.
2015-07-21 17:12:08 -06:00
Tim Schaub
c50d775330
Vertical exaggeration control
2015-07-21 17:12:07 -06:00
Tim Schaub
6da6cef760
Improved shaded relief example
2015-07-21 17:12:07 -06:00
Tim Schaub
1d94d71a5b
Shaded relief example
2015-07-21 17:12:07 -06:00