Tim Schaub
5ee1fd50fa
Merge pull request #8681 from wallw-bits/fix-typecheck-webgl-tilelayer
...
Check the type of the source before using it
2018-09-22 06:23:31 -06:00
Tim Schaub
681941b537
Merge pull request #8691 from romanzoller/fix-error-url
...
Fix assertion error documentation URL
2018-09-22 06:19:57 -06:00
Tim Schaub
7c5ff5422d
Merge pull request #8692 from wallw-bits/fix-typecheck-cluster
...
Type check fixes for Cluster source
2018-09-21 23:11:58 -06:00
Tim Schaub
c9068526e7
Merge pull request #8677 from wallw-bits/fix-typecheck-vectorsource
...
Type check fixes for VectorSource
2018-09-21 16:58:24 -06:00
Tim Schaub
9fd4807920
Merge pull request #8684 from wallw-bits/fix-typecheck-bingmaps
...
Define BingMapsImageryMetadataResponse type
2018-09-21 16:57:13 -06:00
Tim Schaub
16bd9a5450
Merge pull request #8690 from wallw-bits/fix-typecheck-cartodb
...
Fix type checks in CartoDB
2018-09-21 16:53:54 -06:00
William Wall
1c10bbf94c
Fix arithmetic error on potential array
...
And also add zoomMax to response type
2018-09-21 11:57:25 -06:00
William Wall
1da2db83da
Fix type check errors for Image source
...
The parent class does not accept an extent on its options. Also
check that the image is an img or video tag before setting the
source as Canvas does not have the src property.
2018-09-21 08:35:41 -06:00
William Wall
10c8371b38
Type check fixes for Cluster source
...
Removed options unused by super class.
2018-09-21 08:21:20 -06:00
Roman Zoller
5c5fc3f892
Fix assertion error documentation URL
...
Prefix version number with 'v' to obtain correct URL.
This fixes #8556 .
2018-09-21 16:03:39 +02:00
William Wall
82cfa54584
Fix type checks in CartoDB
...
Removed state from super call options because super doesn't use it.
Defined CartoDBLayerInfo response type.
2018-09-21 08:00:45 -06:00
Frederic Junod
69c6db0bc7
Allow TouchEvent to be passed to getEventPixel
2018-09-21 09:23:03 +02:00
Frederic Junod
9b447ef3ed
Fix PointerEventHandler event type
2018-09-21 09:19:05 +02:00
Frederic Junod
821a08ea79
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-21 09:12:06 +02:00
Frédéric Junod
725687c987
Merge pull request #8672 from fredj/raster_source_types
...
Fix source type in Raster source
2018-09-21 08:22:59 +02:00
William Wall
fd0d6ff6f6
Define BingMapsImageryMetadataResponse type
2018-09-20 16:25:48 -06:00
Tim Schaub
aa39a8a508
Merge pull request #8665 from wallw-bits/fix-typecheck-rbush
...
Fix type check errors in RBush
2018-09-20 11:09:07 -06:00
Tim Schaub
c472910aae
Merge pull request #8680 from schmidtk/ts-events-fixes
...
TypeScript fixes for ol/events
2018-09-20 11:03:13 -06:00
William Wall
7ff974be2c
Remove superfluous bitwise operations
2018-09-20 10:27:13 -06:00
Tim Schaub
c414bd5923
Merge pull request #8678 from wallw-bits/fix-typecheck-source-tileimage
...
Ensure image is Image or Video before settings src
2018-09-20 09:40:29 -06:00
Tim Schaub
57bd015972
Merge pull request #8676 from wallw-bits/fix-typecheck-wmts
...
Cast tileGrid to WMTSTileGrid for type check
2018-09-20 04:24:08 -06:00
Tim Schaub
abeb6490e0
Merge pull request #8679 from wallw-bits/fix-typecheck-triangulation
...
Type check fixes in Triangulation
2018-09-20 04:20:29 -06:00
Tim Schaub
edfbb35c03
Merge pull request #8657 from fgravin/fgravin_help_typescript
...
Typescript fixes
2018-09-19 16:02:07 -06:00
William Wall
016436ae18
Check that tile is ImageTile before using it
2018-09-19 15:04:14 -06:00
Kevin Schmidt
34323c0618
Fix TypeScript error in Target
2018-09-19 14:42:45 -06:00
Kevin Schmidt
0ac94c93ff
Fix TypeScript errors managing ol_lm on event targets
2018-09-19 14:42:45 -06:00
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
William Wall
a4aaab5e32
Change bitwise or assignment to boolean assignment
...
Because `tsc` does not like using bitwise operations on booleans.
2018-09-19 13:00:55 -06:00
Tim Schaub
e873949b31
Merge pull request #8671 from fgravin/fgravin_typescript_fixes_2
...
Fix typescript in FeatureLoader
2018-09-19 12:16:37 -06:00
William Wall
adfc174af3
Ensure image is Image or Video before settings src
...
Canvas elements do not contain the 'src' property.
2018-09-19 12:12:50 -06:00
William Wall
20125ae96c
Type check fixes for VectorSource
...
Added parameter types to event listeners. Fixed return type for
feature collection branch. Removed duplicate template definition.
2018-09-19 11:04:35 -06:00
William Wall
0994362bfe
Cast tileGrid to WMTSTileGrid for type check
2018-09-19 10:31:28 -06:00
William Wall
45f2324a4e
Get width as number from number|Size
...
This satisfies tsc in addition to being a bit more defensive from
custom tile grids, even if using them is very uncommon for this
source.
2018-09-19 10:02:33 -06:00
Florent gravin
9c6e14b050
Remove duplicate containsXY fn
2018-09-19 16:51:43 +02:00
Florent gravin
8b83371272
Feature opt_geometryOrProperties cannot be null
2018-09-19 16:48:51 +02:00
Florent gravin
25ade66017
Fix type conflict between Event and events/Event.js
2018-09-19 16:48:51 +02:00
Florent gravin
f3fb88905e
Use window.setTimeout for correct type checking
2018-09-19 16:48:51 +02:00
Florent gravin
e740e7577a
Secure type of HTMLImageElement in ImageTile
2018-09-19 16:48:51 +02:00
Florent gravin
d062904cc1
Correct ol event type propagation in Geolocation positionError
2018-09-19 16:48:51 +02:00
Florent gravin
cd169ede0d
Correct cast of Projection in Geometry.transform
2018-09-19 16:48:51 +02:00
Florent gravin
bd655b325d
Implement Geometry containsXY with correct signature
2018-09-19 16:48:51 +02:00
Florent gravin
7f32ba4216
Use Style instead of import(./style/Style.js).default
2018-09-19 16:47:51 +02:00
Florent gravin
109f16f717
Use Geometry instead of import(./geom/Geometry.js).default
2018-09-19 16:47:51 +02:00
Florent gravin
b3127f86be
Fix cast for Geometry type
2018-09-19 16:47:51 +02:00
Florent gravin
e25d053ba6
Featureloader this reference can also be ol.VectorTile
2018-09-19 16:43:10 +02:00
Frederic Junod
3029a07c1a
Fix source type in Raster source
...
The `sources` is an array of layer or source
2018-09-19 15:34:34 +02:00
Frédéric Junod
978b039ddc
Merge pull request #8654 from fredj/import
...
Remove extra imports in jsdoc
2018-09-19 15:12:10 +02:00
Frédéric Junod
65066a0505
Merge pull request #8655 from fredj/webkit_touch
...
Remove webkit specific properties from Touch
2018-09-19 15:05:20 +02:00
Frédéric Junod
43bc3020a1
Merge pull request #8663 from schmidtk/ts-vendor-fullscreen
...
Add vendor-specific TS declarations for the Fullscreen API.
2018-09-19 15:05:05 +02:00
Frédéric Junod
5f63575106
Merge pull request #8658 from fredj/proto_void
...
Don't define functions in the prototype
2018-09-19 14:53:59 +02:00