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
Marc Jansen
8b26e53067
Merge pull request #8754 from wallw-bits/fix-typecheck-math
...
Fix type check in ol/math
2018-09-30 09:28:08 +02:00
Frédéric Junod
40ee806c27
Merge pull request #8747 from fredj/faq_modules
...
Update doc/faq.md
2018-09-30 07:38:15 +02: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
Frederic Junod
513e11d263
Update doc/faq.md
...
Change code snippet to use es6 modules.
2018-09-29 08:58:02 +02:00
Frédéric Junod
01923ddbb2
Merge pull request #8740 from benVigie/updateFirefoxTextTestTolerance
...
Increase linestring textalign test tolerance to be Firefox compliant.
2018-09-29 08:34:48 +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
Andreas Hocevar
efea43d008
Merge pull request #8743 from wallw-bits/fix-typecheck-rastersource
...
Fix type check in Raster source
2018-09-28 18:20:07 +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
Benjamin Vigie
f8b0eb9648
Increase linestring textalign test tolerance to be Firefox compliant.
2018-09-28 10:42:17 -04: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
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
Frédéric Junod
368fb2c6e8
Merge pull request #8732 from wallw-bits/fix-typecheck-tilesource
...
Fix type check in ol/source/Tile
2018-09-28 08:19:58 +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
Frédéric Junod
2752541ff1
Merge pull request #8731 from fredj/GeolocationError
...
Dispatch a GeolocationError in Geolocation
2018-09-27 16:56:42 +02: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
Frédéric Junod
2d68f1506c
Merge pull request #8729 from fredj/misc
...
Move functions out of the PointerEvent class
2018-09-27 16:05:54 +02:00
Frederic Junod
05c0b77a52
Move functions out of the PointerEvent class
2018-09-27 13:49:18 +02:00
Frédéric Junod
5bfd82a9bf
Merge pull request #8724 from fredj/ts_fixes
...
Typescript misc fixes
2018-09-27 10:47:57 +02:00
Frederic Junod
4fbd7f2acd
Add missing backtick
2018-09-27 10:18:47 +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
Tim Schaub
ca9ac8e950
Merge pull request #8719 from openlayers/greenkeeper/marked-0.5.1
...
Update marked to the latest version 🚀
2018-09-26 21:23:15 -07:00
greenkeeper[bot]
80399f09df
chore(package): update marked to version 0.5.1
2018-09-26 14:42:11 +00: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
Andreas Hocevar
3b747f4d2d
Merge pull request #8710 from wallw-bits/fix-typecheck-imagearcgis
...
Fix type checks in ImageArcGISRest
2018-09-26 11:10:27 +02:00
Andreas Hocevar
ce3988cfbb
Merge pull request #8714 from openlayers/greenkeeper/webpack-4.20.2
...
chore(package): update webpack to version 4.20.2
2018-09-26 07:40:07 +02:00
greenkeeper[bot]
8f6f4de433
chore(package): update webpack to version 4.20.2
...
Closes #8705
2018-09-26 05:02:09 +00: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