Tim Schaub
6f1f85b729
Merge pull request #8741 from schmidtk/ts-geom
...
Fix TypeScript errors in ol/geom/*
2018-09-30 20:50:28 -07:00
Tim Schaub
2034e3f63b
Merge pull request #8707 from schmidtk/ts-format-feature
...
Fix TypeScript errors in ol/format/Feature
2018-09-30 20:41:55 -07:00
William Wall
831505c425
Fix type check in ol/math
...
tsc considers everything in the else block to be of type 'never',
since it thinks that cosh is permanently defined for Math. Casting
back to Math in the else block fixes the error.
2018-09-29 16:40:15 -06:00
Andreas Hocevar
b49f2448c7
Merge pull request #8744 from wallw-bits/fix-typecheck-vectortilesource
...
Fix type checks in VectorTileSource
2018-09-29 20:44:56 +02:00
Frédéric Junod
313b00b8f3
Merge pull request #8738 from schmidtk/ts-format-xmlfeature
...
Cast to parent type to fix TS errors
2018-09-29 08:23:29 +02:00
Frédéric Junod
5abcaebabc
Merge pull request #8737 from schmidtk/ts-format-topojson
...
Flag optional param to fix TS error
2018-09-29 08:18:09 +02:00
William Wall
a685e85c10
Fix type checks in VectorTileSource
...
Use typeof(Class) instead of defining a typedef for the tile class
2018-09-28 12:33:33 -06:00
Andreas Hocevar
9cbe9926b4
Merge pull request #8742 from wallw-bits/fix-typecheck-vectorsource-2
...
Fix type checks in Vector source
2018-09-28 18:20:46 +02:00
William Wall
0bbbd33bb1
Fix type check in Raster source
2018-09-28 09:38:33 -06:00
William Wall
4da372d515
Fix type checks in Vector source
...
The getResolutions override is unnecessary because the parent
implementation also returns undefined.
2018-09-28 09:24:55 -06:00
Kevin Schmidt
7d5a81d40f
Fix TypeScript errors in ol/geom/*
2018-09-28 09:00:28 -06:00
Kevin Schmidt
df7c89baeb
Fix TypeScript errors in ol/format/WMSGetFeatureInfo
2018-09-28 08:15:59 -06:00
Kevin Schmidt
497aef7309
Cast to parent type to fix TS errors
2018-09-28 07:58:43 -06:00
Kevin Schmidt
73a48eb3d4
Flag optional param to fix TS error
2018-09-28 07:56:07 -06:00
Andreas Hocevar
63f583e148
Merge pull request #8733 from schmidtk/ts-format-wfs
...
Fix TypeScript errors in ol/format/WFS
2018-09-28 13:19:14 +02:00
Andreas Hocevar
54fa2bdc94
Merge pull request #8735 from schmidtk/ts-format-wkt
...
Fix TypeScript errors in ol/format/WKT
2018-09-28 12:45:09 +02:00
Frederic Junod
8c69380ef6
Fix wrong property name in Stroke constructor
2018-09-28 09:13:43 +02:00
Frederic Junod
3d9b1af105
Remove 'extent' properties from ol/source/Tile children classes
2018-09-28 09:13:43 +02:00
Frederic Junod
f58cd03f3b
Remove extra parameters
2018-09-28 09:13:43 +02:00
Andreas Hocevar
2e41302fc3
Merge pull request #8730 from schmidtk/ts-format-kml
...
Fix TypeScript errors in ol/format/KML
2018-09-28 08:31:32 +02:00
Frederic Junod
6ce56329dd
Fix wrong type
2018-09-28 08:21:12 +02:00
Kevin Schmidt
280741f8d1
Fix TypeScript errors in ol/format/WKT
2018-09-27 14:46:15 -06:00
Kevin Schmidt
d4d45001f6
Fix TypeScript errors in ol/format/WFS
2018-09-27 14:03:06 -06:00
Kevin Schmidt
f8d3c8e140
Fix TypeScript errors in ol/format/KML
2018-09-27 13:33:41 -06:00
William Wall
1ee0c50c8a
Fix type check in ol/source/Tile
...
Remove 'extent' because the parent Source class does not contain
'extent' on its options or use options.extent in the constructor.
Also removed 'extent' from 'Options' for 'TileSource'.
2018-09-27 10:47:51 -06:00
Frederic Junod
39951a792d
Dispatch a GeolocationError in Geolocation
...
See https://github.com/openlayers/openlayers/pull/8657#discussion_r219051918
2018-09-27 16:51:17 +02:00
Frederic Junod
05c0b77a52
Move functions out of the PointerEvent class
2018-09-27 13:49:18 +02:00
Frederic Junod
60c5d016a6
Remove unused 'opaque' property from ol/source/Stamen options
...
And set the `layer` property as mandatory.
2018-09-27 10:00:02 +02:00
Frederic Junod
7eee6ba07a
Remove '=' from type when the parameter is not optional
2018-09-27 10:00:02 +02:00
Frederic Junod
d8ee6acefa
Remove extra imports in jsdoc
2018-09-27 10:00:02 +02:00
Frédéric Junod
a4212abbb2
Merge pull request #8717 from fredj/ts_TileArcGISRest
...
Fix type checks in TileArcGISRest
2018-09-27 08:28:56 +02:00
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
Frederic Junod
9cf7c71df8
Fix type checks in TileArcGISRest
2018-09-26 15:51:55 +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
Kevin Schmidt
e9baa2cfc4
Fix TypeScript errors in ol/format/Feature
2018-09-25 13:03:43 -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