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
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
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
Frédéric Junod
708557afef
Merge pull request #8697 from fredj/fix-typecheck-cluster
...
Remove unused properties from Cluster and Image options
2018-09-24 13:14:06 +02: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
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
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
Frederic Junod
9c52e0d6d9
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-19 14:52:58 +02:00
Frédéric Junod
23be1ac56d
Merge pull request #8668 from fredj/module_doc
...
Add missing 'module' annotation
2018-09-19 14:07:09 +02:00
Frederic Junod
600d156d01
Add missing 'module' annotation
2018-09-19 11:51:34 +02:00
Frédéric Junod
40227db7be
Merge pull request #8656 from openlayers/greenkeeper/rollup-plugin-commonjs-9.1.8
...
chore(package): update rollup-plugin-commonjs to version 9.1.8
2018-09-19 11:29:51 +02:00
Frederic Junod
54cdaddf3a
Don't use Chrome only ALLOW_KEYBOARD_INPUT param
2018-09-19 11:12:27 +02:00
Frédéric Junod
5a62d403c0
Merge pull request #8667 from openlayers/greenkeeper/uglifyjs-webpack-plugin-2.0.1
...
chore(package): update uglifyjs-webpack-plugin to version 2.0.1
2018-09-19 09:26:28 +02:00
Frédéric Junod
eade74384a
Merge pull request #8661 from openlayers/greenkeeper/webpack-4.19.1
...
Update webpack to the latest version 🚀
2018-09-19 09:24:58 +02:00
Frederic Junod
31c392b63c
Remove containsXY function from ol/geom/SimpleGeometry
...
The function is already present in the base class (ol/geom/Geometry)
2018-09-19 08:40:14 +02:00
Frederic Junod
7cb85fa975
Don't define functions in the prototype
...
If `VOID` is used, TypeScript is not able to figure out what the function parameters are.
Before:
```
$ npx tsc | wc -l
1188
```
After:
```
$ npx tsc | wc -l
1169
```
2018-09-19 08:40:14 +02:00
Frederic Junod
960b433a2c
Remove webkit specific properties from Touch
...
Remove the following errors from the TypeScript checks:
```
src/ol/pointer/TouchSource.js(231,23): error TS2339: Property 'webkitRadiusX' does not exist on type 'Touch'.
src/ol/pointer/TouchSource.js(232,24): error TS2339: Property 'webkitRadiusY' does not exist on type 'Touch'.
src/ol/pointer/TouchSource.js(233,26): error TS2339: Property 'webkitForce' does not exist on type 'Touch'.
```
The only reference that I've found for these properties is a warning message from Google Chrome:
```
'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead.
```
2018-09-18 13:36:38 +02:00
Frédéric Junod
5910e4d207
Merge pull request #8644 from openlayers/greenkeeper/rollup-0.66.0
...
Update rollup to the latest version 🚀
2018-09-18 09:12:34 +02:00
Frédéric Junod
fe0ac80ba4
Merge pull request #8618 from fredj/topojson_types
...
Use TopoJSON types from @types/topojson
2018-09-14 13:09:43 +02:00
Frederic Junod
ba53b5e8aa
Quotes topojson properties
2018-09-14 13:02:30 +02:00
Frederic Junod
abc3279752
Use TopoJSON types from @types/topojson
2018-09-14 13:02:30 +02:00
Frédéric Junod
84c689d456
Merge pull request #8619 from fredj/typing
...
Remove wrong Geometry type in KML format
2018-09-14 12:46:31 +02:00
Frederic Junod
3c52757f3f
Remove wrong Geometry type in KML format
2018-09-11 08:45:16 +02:00
Frédéric Junod
e6e9801a74
Merge pull request #8617 from openlayers/greenkeeper/webpack-4.18.0
...
chore(package): update webpack to version 4.18.0
2018-09-11 07:50:18 +02:00
Frédéric Junod
b5e2b9fe6f
Merge pull request #8609 from fredj/import
...
Remove extra imports in jsdoc
2018-09-11 07:36:58 +02:00
Frederic Junod
81bab31efb
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-08 11:01:02 +02:00
Frédéric Junod
058f81c0fa
Merge pull request #8602 from fredj/layer_map_opt_typedef
...
Add missing map property in ol/layer/Layer constructor options
2018-09-08 09:59:20 +02:00
Frederic Junod
3c05e09189
Add missing map property in ol/layer/Layer constructor options
2018-09-07 09:05:04 +02:00
Frédéric Junod
9b2dc88151
Merge pull request #8594 from fredj/import
...
Remove extra imports in jsdoc
2018-09-07 08:24:52 +02:00
Frederic Junod
a6861f5f49
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-06 16:40:29 +02:00
Frédéric Junod
e32b3b5957
Merge pull request #8591 from fredj/textstate_typedef
...
Add missing properties in TextState typedef
2018-09-06 15:30:41 +02:00
Frédéric Junod
e3f13051f6
Merge pull request #8590 from fredj/import
...
Don't import ourselves
2018-09-06 15:30:22 +02:00
Frederic Junod
c8747d87a4
Add missing properties in TextState typedef
2018-09-06 09:30:28 +02:00
Frédéric Junod
225e02244e
Merge pull request #8589 from openlayers/greenkeeper/rollup-0.65.2
...
Update rollup to the latest version 🚀
2018-09-06 09:06:37 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Frédéric Junod
ba698258c0
Merge pull request #8586 from fredj/ts_fixes
...
Cast 'originalEvent' in interactions
2018-09-06 09:00:33 +02:00
Frederic Junod
71328530fe
Remove unnecessary 'function' in jsdoc blocks
2018-09-05 16:40:45 +02:00
Frederic Junod
a5f5c06af3
Cast 'originalEvent' in interactions
2018-09-05 16:38:42 +02:00
Frédéric Junod
f34d024b22
Merge pull request #8585 from openlayers/greenkeeper/rollup-0.65.1
...
Update rollup to the latest version 🚀
2018-09-05 11:13:32 +02:00
Frédéric Junod
8510169c69
Merge pull request #8574 from fredj/typescript_checks
...
Rename Extent to ExtentInteraction
2018-09-04 09:12:49 +02:00
Frédéric Junod
e2c0d59332
Merge pull request #8577 from fredj/cleanup
...
Remove geojson.js extern inclusion in tasks/generate-info
2018-09-04 09:12:30 +02:00
Frederic Junod
404c1bda0a
Remove geojson.js extern inclusion in tasks/generate-info
2018-09-03 16:16:46 +02:00
Frederic Junod
8fdc4cc9fc
Change property test in MousePosition options
...
TypeScript doesn't like the current implementation:
```
src/ol/control/MousePosition.js(82,64): error TS2339: Property 'undefinedHTML' does not exist on type 'never'.
```
2018-09-03 15:25:33 +02:00
Frederic Junod
ad1dec58ec
Rename Extent to ExtentInteraction
2018-09-03 15:15:58 +02:00
Frédéric Junod
42b8340ea1
Merge pull request #8573 from fredj/f8360
...
Fix freehand polygon drawing
2018-09-03 12:40:34 +02:00
Frederic Junod
595009726f
Fix freehand polygon drawing
...
Fixes #8360
2018-09-03 11:56:31 +02:00
Frédéric Junod
4025ddc364
Merge pull request #8572 from fredj/ts_fixes
...
typescript misc fixes
2018-09-03 10:49:05 +02:00
Frederic Junod
5b8b470568
Fix imports in jsdoc blocks
2018-09-03 09:41:00 +02:00
Frederic Junod
3c02bd15fb
Add missing 'extent' property in TileImage constructor
2018-09-03 09:41:00 +02:00
Frederic Junod
5fdac622ef
Add missing 'extent' property in VectorTile constructor
2018-09-03 09:41:00 +02:00
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Frédéric Junod
5435379e70
Merge pull request #8567 from fredj/element_vs_node
...
Use 'Element' type instead of 'Node'
2018-08-31 16:32:18 +02:00
Frederic Junod
20a347b0c9
Use 'Element' type instead of 'Node'
2018-08-31 11:36:16 +02:00
Frédéric Junod
bb4f887545
Merge pull request #8558 from fredj/zIndex_doc
...
Fix default zIndex value and documentation for layer options
2018-08-29 12:53:50 +02:00
Frederic Junod
db04052b7a
Fix default zIndex value and documentation for layer options
2018-08-29 11:33:09 +02:00
Frédéric Junod
2342ec90aa
Merge pull request #8481 from gberaudo/expose_some_internal_functions
...
Expose some internal functions
2018-08-23 10:42:19 +02:00
Frédéric Junod
d84c64b3e7
Merge pull request #8524 from NeoRaider/xhtml-fixes
...
Fix compatiblity with XHTML content type
2018-08-22 13:13:22 +02:00
Frédéric Junod
8cd9eabe68
Merge pull request #8483 from fredj/draw-shapes-null-coordinates
...
Don't create Polygon with null coordinates
2018-08-05 19:30:34 +02:00
Frederic Junod
a50a4efeca
Don't create Polygon with null coordinates
2018-08-04 07:35:19 +02:00
Frédéric Junod
d49be1393e
Merge pull request #8471 from samuel-girard/imagestatic_properties
...
Add getUrl and getImageExtent to ImageStatic API
2018-08-03 09:22:53 +02:00
Frédéric Junod
5adf0be4a3
Merge pull request #8452 from fredj/f_8409
...
Remove extra translate function in Geometry, add missing api tag
2018-07-27 15:53:53 +02:00
Frédéric Junod
4c71ddb3c7
Merge pull request #8451 from fredj/rm_f
...
Remove unimplemented functions
2018-07-27 13:22:35 +02:00
Frederic Junod
b3586bed8d
Remove extra translate function in Geometry, add missing api tag
2018-07-27 13:19:12 +02:00
Frederic Junod
1e332f52d6
Remove unimplemented functions
...
The TypeScript checker complain about it.
It was a workaround for closure-compiler, it's not needed anymore.
2018-07-27 13:10:45 +02:00
Frédéric Junod
c0f44f6d9d
Merge pull request #8450 from fredj/types
...
Mark properties of ReadOptions and WriteOptions as optional
2018-07-27 11:45:25 +02:00
Frederic Junod
219629458b
Mark properties of ReadOptions and WriteOptions as optional
2018-07-27 11:25:52 +02:00
Frédéric Junod
adfb3dd229
Merge pull request #8441 from fredj/f_8440
...
Fix loaded script for the example-verbatim examples
2018-07-26 14:02:33 +02:00
Frederic Junod
3c0be4e611
Fix loaded script for the example-verbatim examples
2018-07-26 13:46:17 +02:00
Frédéric Junod
5a6502572f
Merge pull request #8435 from fredj/f_8434
...
Call setCoordinates on the point instance
2018-07-25 16:55:05 +02:00
Frederic Junod
d7adf0b4f3
Call setCoordinates on the point instance
2018-07-25 16:10:56 +02:00
Frédéric Junod
dae843a98d
Merge pull request #8402 from fredj/fixes_from_ts
...
Type fixes from the typescript checks
2018-07-19 16:28:18 +02:00
Frederic Junod
85d836d909
Remove 'Geolocation' prefix from types
...
So they are recognized by the TypeScript type checker.
2018-07-19 16:02:58 +02:00
Frederic Junod
323eb3f251
Fix reprojectionErrorThreshold property type
2018-07-19 16:02:58 +02:00
Frederic Junod
5d2cf66380
Add missing 'targetRotation' property in Animation typedef
2018-07-19 16:02:58 +02:00