Tim Schaub
c830ba07ce
Allow projection to be set after construction
2021-02-11 07:43:18 -07:00
Simon Seyock
2ad5789797
Add descriptions for properties.
2021-02-04 18:19:33 +01:00
mike-000
9a8b9d8ade
add Image source imageSmoothing option
...
Add Image smoothing checkbox to example
Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Tim Schaub
4d9975754f
Mapbox vector layer
2020-05-03 16:07:27 -06:00
Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +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
ahocevar
94cd126189
Add setUrl function and don't reset loaded extents in setLoader
2019-02-20 21:55:29 +01:00
ahocevar
e4873a9952
Improve documentation for ol/Source#refresh
2019-02-20 20:40:09 +01:00
ahocevar
37eb6de37d
JSDoc fixes
2019-01-30 09:42:20 +01:00
Frederic Junod
a8799e1d60
Fix typo
2018-11-21 16:23:54 +01:00
Frederic Junod
087b024a24
Change projection property in sources options to optional
...
The `projection` property is not mandatory, the view's projection is used if not provided.
2018-11-21 16:23:29 +01:00
ahocevar
1cdd040c96
Throw when calling abstract methods; fix abstract return types
2018-10-30 18:55:49 +01:00
Kevin Schmidt
df4ef724b6
Removed unused forEachFeatureAtCoordinate from ol/source/Source
...
Fixes #8826 .
2018-10-17 06:10:10 -06:00
Andreas Hocevar
6e7558e954
Merge pull request #8804 from notnotse/issue/8621-disable-collapsible-attributions-for-osm
...
Add possibility to disable collapsible attributions from Source
2018-10-14 12:16:36 +02:00
ahocevar
af4e5ca7cf
Improve JSDoc
2018-10-14 09:57:26 +02:00
Bobo Häggström
2f4d31c8f4
Add possibility to disable collapsible attributions from Source
2018-10-12 09:28:34 +02:00
Frederic Junod
94da8dd0e2
Move adaptAttributions out of the class, set default Options values
2018-10-10 14:23:13 +02:00
Frederic Junod
720993431c
Fix indentation
2018-10-08 08:50:40 +02:00
Frederic Junod
ae87cad7ef
Use FeatureLike typedef
...
Use `import("./Feature.js").FeatureLike` typedef instead of `import("./Feature.js").default|import("./render/Feature.js").default`
2018-10-02 12:58:56 +02:00
ahocevar
f29e6ac397
Fix more incorrect type imports
2018-09-13 11:42:59 +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
ahocevar
1baa8be269
Add 'rendercomplete' event
2018-08-22 09:53:24 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06: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
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
7701c5fd3a
Module type for ol.render.Feature
2018-04-20 14:53:56 +02:00
Michael Kuenzli
2b41a3930b
Move ol.Attribution to ol/source/Source
2018-04-19 16:49:13 +02:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
e283193ff4
Module type for ol.source.State
2018-04-19 15:39:25 +02:00
Roman Zoller
d4f39f7bbb
Move ol.SourceSourceOptions to ol/source/Source
2018-03-25 11:45:15 +02:00
Frederic Junod
bd9e603036
Module type for ol.layer.Layer
2018-03-23 08:44:21 +01:00
Tim Schaub
414792f707
Module type for BaseObject
2018-03-18 09:50:48 -06:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06: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
b50a47114e
Move the nullFunction to ol/functions
...
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +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
24dd0ca924
Rename _ol_Object_ to BaseObject
2018-01-10 09:35:43 -07:00
Frederic Junod
aa45598ae1
Rename _ol_source_Source_ to Source
2017-12-19 08:51:50 +01:00
Frederic Junod
d0728a5e65
Rename _ol_source_State_ to SourceState
2017-12-19 08:33:14 +01:00
Tim Schaub
b7e9b8b461
Remove logos
2017-12-16 08:46:50 -07:00