Tim Schaub
371bb85350
Add a map property to layers
2021-11-12 17:54:10 -07:00
Simon Seyock
ce4f6ccb0d
OnSignatures return more specific type
2021-09-10 16:11:38 +02:00
Simon Seyock
bf9ca7f3d1
Add change:layers event.
2021-07-23 13:03:57 +02:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Andreas Hocevar
343e0ffce9
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-19 23:16:26 +02:00
Andreas Hocevar
8520a18eae
Merge pull request #12219 from ahocevar/object-properties
...
Add 'properties' to Layer constructors
2021-06-17 08:44:53 +02:00
Andreas Hocevar
432bd7f851
Allow custom properties in the constructor using the properties option
2021-05-24 23:23:51 +02:00
Maximilian Krög
de4a93709a
Inherit layer group zIndex
2021-05-13 01:44:08 +02:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Simon Seyock
808868ad1f
Fixed some jsdoc issues.
2021-02-02 12:15:30 +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
15d36a22f0
Remove all inheritDoc tags from src/ol/layer
2020-04-03 07:56:58 +02:00
mike-000
501546bc44
add minZoom and maxZoom options
2020-02-17 16:52:59 +00:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Tim Schaub
65ad4932f4
Support zoom limits for layers
2019-08-06 21:19:09 -04:00
Frederic Junod
6a797e84ff
Simplify import path in ol/layer/
2018-11-05 16:26:45 +01:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Frederic Junod
f58cd03f3b
Remove extra parameters
2018-09-28 09:13:43 +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
Frederic Junod
db04052b7a
Fix default zIndex value and documentation for layer options
2018-08-29 11:33:09 +02:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07: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
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02: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
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
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
4580bd15c5
Module type for ol.layer.Base
2018-03-26 10:41:29 +02:00
Frederic Junod
813c009912
Module type for ol.Collection
2018-03-26 10:40:28 +02:00
Frederic Junod
1cad0c665f
Module type for ol.Extent
2018-03-26 10:38:55 +02:00
Roman Zoller
1e476ae9e7
Move olx.layer.GroupOptions to ol/layer/Group
2018-03-23 18:39:46 +01:00
Frederic Junod
14dc03b434
Module type for ol.layer.Base
2018-03-23 08:44:21 +01:00
Frederic Junod
bd9e603036
Module type for ol.layer.Layer
2018-03-23 08:44:21 +01:00
Frederic Junod
b26e370b5b
Module type for ol.Collection
2018-03-19 16:36:21 +01:00
Frederic Junod
38eb1494eb
Module type for ol.CollectionEvent
2018-03-19 16:36:21 +01:00
Frederic Junod
857b946f3e
Module type for ol.events.Event
2018-03-19 14:31:04 +01:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
4e6cf58de1
Remove static members from BaseObject
2018-02-25 08:49:28 -07:00
Tim Schaub
9aae8aeb26
Export CollectionEvent from ol/Collection
2018-02-18 22:29:50 -07:00
Frederic Junod
a8f4348add
Fix parens grouping in typecasts
2018-02-15 08:44:35 +01:00
Frederic Junod
577816ca4a
Better code indentation
2018-02-15 08:29:12 +01:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
039d4dc714
Better variables scoping
2018-01-17 16:07:36 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00