Andreas Hocevar
c6341bbcd9
Fix types for events
2020-05-10 18:19:45 +02:00
Andreas Hocevar
33ce206bab
Get rid of MapBrowserPointerEvent
2020-05-10 16:54:34 +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
Frederic Junod
dda7342ea7
Remove all inheritDoc tags from src/ol/renderer
2020-04-03 09:08:09 +02:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Tim Schaub
1e27846d6d
Use user projection for event coordinate
2019-09-26 17:23:39 +02:00
Tobias Kohr
d4c1589a01
Seperate internal and API methods for the map
2019-09-24 17:58:56 +02:00
Andreas Hocevar
a139b01f8e
Always dispatch pointermove, but calculate coordinates lazily
2019-09-24 16:02:36 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tino Desjardins
b56a7c0fa3
Update link to base class in docs
2018-08-20 17:03:59 +02:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
Tim Schaub
e1e34e5636
Replace @see with See.
2018-07-19 08:37:32 -06:00
ahocevar
16849a3611
Use extends and super for MapBrowserEvent
2018-07-17 13:51:32 +02:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Frederic Junod
7e3e0e54ca
Fix comments indentation
2018-07-17 09:15:16 +02:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Tim Schaub
167bc1ec78
Remove externs/oli.js
2018-05-08 08:38:34 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
8c58bb4332
Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState'
2018-03-13 16:06:46 +01:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Frederic Junod
500a017faf
Better code indentation
2018-03-05 15:36:40 +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
Marc Jansen
465c248572
Rename _ol_MapBrowserEvent_ to MapBrowserEvent
2017-12-15 16:17:56 +01:00
Marc Jansen
a01793d3af
Rename _ol_MapEvent_ to MapEvent
2017-12-15 16:17:56 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00