James Cheese
49ee4bbd1c
Adding tests for ZoomSlider drags ending out of bounds.
...
As per the existing tests for the slider, ensure that listeners are unbound
correctly and values are as expected.
2018-09-24 09:55:13 +01:00
James Cheese
75947a6759
Revert changes from 7b687be
...
Adapted the changes to new class structures introduced since the original
deletion before committing, to ensure that everything compiles correctly.
2018-09-24 09:55:13 +01:00
Frederic Junod
7d1b90c7d2
Remove unused extent property from ol/source/Image options
2018-09-24 10:14:33 +02:00
Frederic Junod
557e2c9029
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-24 10:11:03 +02:00
Frederic Junod
3b208864bc
Remove unused properties from Cluster options
...
Follow up on #8692
2018-09-24 10:06:25 +02:00
Frédéric Junod
32dea69f5e
Merge pull request #8688 from fredj/ts_fixes
...
Fix PointerEventHandler event type
2018-09-24 10:02:49 +02:00
Frédéric Junod
7d36b893d3
Merge pull request #8686 from fredj/import
...
Remove extra imports in jsdoc
2018-09-24 10:02:27 +02:00
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
Tim Schaub
ada7e404b1
Merge pull request #8693 from wallw-bits/fix-typecheck-image-source
...
Fix type check errors for Image source
2018-09-21 16:51:35 -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
a31453b55f
Merge pull request #8646 from openlayers/greenkeeper/mustache-3.0.0
...
Update mustache to the latest version 🚀
2018-09-21 08:39:07 +02:00
Frédéric Junod
5b43b9f151
Merge pull request #8645 from openlayers/greenkeeper/rollup-plugin-uglify-6.0.0
...
Update rollup-plugin-uglify to the latest version 🚀
2018-09-21 08:38:45 +02:00
Frédéric Junod
bf6ecd7667
Merge pull request #8685 from openlayers/greenkeeper/rollup-0.66.2
...
Update rollup to the latest version 🚀
2018-09-21 08:28:50 +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
greenkeeper[bot]
fca3bed6dc
chore(package): update rollup to version 0.66.2
2018-09-21 05:26:48 +00: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
85407a45f2
Merge pull request #8683 from openlayers/greenkeeper/rollup-0.66.1
...
Update rollup to the latest version 🚀
2018-09-19 22:05:46 -06:00
greenkeeper[bot]
399e2587bb
chore(package): update rollup to version 0.66.1
2018-09-19 22:38:34 +00: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
Tim Schaub
d44ba929ab
Merge pull request #8675 from wallw-bits/fix-typecheck-zoomify
...
Get width as number from number|Size
2018-09-19 11:55:35 -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