William Wall
7525c57688
Check the type of the source before using it
...
This satisfies tsc in addition to making the class more defensive
against source types that it does not support.
2018-09-19 14:39:10 -06:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +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
Frédéric Junod
d84c64b3e7
Merge pull request #8524 from NeoRaider/xhtml-fixes
...
Fix compatiblity with XHTML content type
2018-08-22 13:13:22 +02:00
ahocevar
1baa8be269
Add 'rendercomplete' event
2018-08-22 09:53:24 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
ahocevar
2f92e48e93
Use super.method instead of prototype.method.call
2018-08-06 15:30:17 +02:00
Guillaume Beraudo
fe86d2e7f7
Expose original getGutter
...
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).
- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
which is also more explicit.
The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06: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
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
Tim Schaub
b8c9125602
Remove lint
2018-07-18 10:35:54 -06:00
Tim Schaub
9ee5edf19c
Clean up ol/renderer/webgl classes
2018-07-17 18:23:52 -06:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Frederic Junod
384920734f
Fix webgl.js path import in webgl shaders
2018-07-17 09:19:04 +02:00
Frederic Junod
7e3e0e54ca
Fix comments indentation
2018-07-17 09:15:16 +02:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
simonseyock
fcc7d87b06
Support hitTolerance in forEachLayerAtPixel
2018-06-25 09:09:02 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
64e1139230
Fix remaining type issues
2018-05-17 12:29:22 -05:00
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
Tim Schaub
34c1a6b9ba
Replace type annotations
2018-05-07 21:21:39 -06:00
Tim Schaub
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
Frederic Junod
11d9f6de83
Module type for ol.renderer.*
2018-04-26 15:35:48 +02:00
Frederic Junod
76769f9901
Module type for ol.struct.*
2018-04-26 15:16:21 +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
Frederic Junod
3629cef3a5
Module type for ol.render.EventType
2018-04-20 14:31:00 +02:00
Tim Schaub
91f2101cab
Remove check for map renderer type
2018-04-14 10:01:07 -06:00
Tim Schaub
be35f82ae5
Explicit map renderer construction
2018-04-14 09:38:40 -06:00
Frederic Junod
22ace7228f
Don't import from 'functions' multiple times
2018-04-04 13:51:47 +02:00
Frederic Junod
7cbc22fece
Module type for ol.style.*
2018-03-27 15:09:52 +02:00
Frederic Junod
2fc9cb691d
Module type for ol.webgl.Vertex
2018-03-23 13:25:47 +01:00
Frederic Junod
873b01bba5
Move WebGL typedefs out of src/ol/typedefs.js
2018-03-23 13:22:51 +01:00
Frederic Junod
5306490733
Module type for ol.webgl.Context
2018-03-23 12:17:42 +01:00
Frederic Junod
353a3b77b6
Module type for ol.webgl.Buffer
2018-03-23 12:16:04 +01:00
Frederic Junod
6f6b60769c
Module type for ol.webgl.Fragment
2018-03-23 12:13:25 +01:00
Frederic Junod
ce726ed9dd
Module type for ol.layer.Vector
2018-03-23 08:44:21 +01:00
Frederic Junod
448e6a755f
Module type for ol.layer.Image
2018-03-23 08:44:21 +01:00
Frederic Junod
05e78c20fc
Module type for ol.layer.Tile
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
857b946f3e
Module type for ol.events.Event
2018-03-19 14:31:04 +01:00
Frederic Junod
93b2fe0e95
Module type for ol.Tile
2018-03-19 14:31:04 +01:00
Frederic Junod
edce8785ee
Module type for ol.ImageBase
2018-03-19 14:31:04 +01:00
Frederic Junod
2d9014ce11
Module type for ol.PluggableMap
2018-03-19 08:49:56 +01:00