Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
mike-000
95702648b2
simplify scale calculation
...
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +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
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
615ae71a8f
Remove all inheritDoc tags from src/ol/source
2020-04-03 07:56:58 +02:00
simonseyock
89e8d6d693
getGetLegendRequestUrl accepts a LAYER parameter now
2019-09-19 14:21:07 +02:00
Simon Seyock
b2885e86fb
Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl
2019-09-18 10:48:18 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Marc Jansen
2869ed245c
Improve documentation of getGetLegendGraphicUrl
...
This also adresses one review comment by @jahow on #9762 .
2019-07-22 17:02:30 +02:00
simonseyock
c0000e745e
make resolution in getGetLegendGraphicUrl optional
2019-07-08 15:14:13 +02:00
Kai Volland
f493f01bd0
Introduces getGetLegendGraphic method
...
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Frederic Junod
50343afa61
Remove unnecessary typecasts in constructors options
2019-06-03 09:08:41 +02:00
ahocevar
37eb6de37d
JSDoc fixes
2019-01-30 09:42:20 +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
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
c12b41f8c6
Simplify import path in ol/source/
2018-11-05 16:26:45 +01: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
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02: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
d46471d763
Replace {@link https://www.example.com/ } with https://www.example.com/
2018-07-19 08:34:35 -06: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
Tim Schaub
5b65336328
Remove remaining ol.foo notation from the source
2018-05-07 21:21:50 -06:00
Tim Schaub
34c1a6b9ba
Replace type annotations
2018-05-07 21:21:39 -06:00
Frederic Junod
d8e0212833
Module type for ol.source.*
2018-04-26 15:18:44 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
e77986c86c
Module type for ol.source.Image
2018-04-19 15:39:26 +02:00
Florent gravin
c579fc985a
Remove =undefined for default values in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
0f1cef96fb
Replace ol.ProjectionLike by module:ol/proj~ProjectionLike in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
125a54ff1e
Move olx.source.ImageWMSOptions to ol/source/ImageWMSOptions
2018-04-04 10:52:50 +02:00
Frederic Junod
5173970f53
Module type for ol.Image
2018-03-19 16:07:09 +01: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
500a017faf
Better code indentation
2018-03-05 15:36:40 +01:00
Tim Schaub
2188c5fa91
Remove static members from ImageSource
2018-02-25 08:43:01 -07:00
Tim Schaub
f91ecab8ed
Remove private static members from ImageWMS
2018-02-12 07:12:02 -07:00
Tim Schaub
9c1db1f904
Named exports from ol/reproj
2018-02-09 10:04:03 -07:00
Tim Schaub
0d5026165f
Rename _ol_Image_ to ImageWrapper
2018-02-08 11:49:37 -07:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
a114f64429
Named exports from ol/string
2018-01-19 15:38:21 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00
Frederic Junod
40f97eed85
Named exports from ol/uri
2018-01-16 13:35:27 +01:00