Tim Schaub
2f51785968
Merge pull request #8718 from schmidtk/ts-format-gpx
...
Fix TypeScript errors in ol/format/GPX
2018-09-26 21:24:49 -07:00
Frédéric Junod
047f7ecf04
Merge pull request #8706 from schmidtk/ts-types-esrijson
...
Use EsriJSON types from @types/arcgis-rest-api
2018-09-26 15:56:27 +02:00
Frédéric Junod
277ecca881
Merge pull request #8709 from schmidtk/ts-format-geojson
...
Fix TypeScript errors in ol/format/GeoJSON
2018-09-26 15:54:20 +02:00
Frédéric Junod
55b300082a
Merge pull request #8708 from wallw-bits/fix-typecheck-imagecanvas
...
Fix type checks in ImageCanvas source
2018-09-26 15:50:42 +02:00
Kevin Schmidt
922e3824fb
Fix TypeScript errors in ol/format/GPX
2018-09-26 07:38:12 -06:00
William Wall
d37e04e8f3
Fix type checks in ImageArcGISRest
...
Added proper @link tags to links in descriptions. Fixed unclosed
backtick. Made params optional like the description says.
2018-09-25 14:00:23 -06:00
Kevin Schmidt
a6223abdce
Fix TypeScript errors in ol/format/GeoJSON
2018-09-25 13:14:20 -06:00
William Wall
3ba789eae6
Fix type checks in ImageCanvas source
...
Fixed constructor docs specifying optional options without a
default value. Fixed malformed @link tag in typedef description.
canvasFunction type was previously declared with the 'this' type
as ImageCanvas, but the 'this' ref was not passed on the scope when
calling the function.
2018-09-25 13:01:02 -06:00
Kevin Schmidt
02d5d21d0d
Use EsriJSON types from @types/arcgis-rest-api
...
Resolves #8597
2018-09-25 12:31:22 -06:00
Andreas Hocevar
d9698dcb06
Merge pull request #8698 from intouch-smartwater/fix-zoom-slider-events
...
Fix zoom slider events
2018-09-24 13:15:43 +02:00
James Cheese
9c5227850f
Remove events causing errors on touch-screen devices.
...
Fix for case #5226
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
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