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
Frederic Junod
2e60961700
Use 'HTMLElement' type instead of 'Element' in controls
2018-07-19 16:02:58 +02:00
Frederic Junod
c1ffb0a2a9
Move template type at the class level
...
This removes the TS1092 error from TypeScript: Type parameters cannot appear on a constructor declaration.
2018-07-19 15:53:52 +02:00
Frederic Junod
65b306891b
Remove 'struct' jsdoc tags, code indentation
2018-07-18 09:07:27 +02:00
Frederic Junod
f140ff368d
Move jsdoc constructor comments for controls
2018-07-17 16:44:53 +02:00
Frederic Junod
c707b4c746
Use extends and super for geom
2018-07-17 16:21:54 +02:00
Frederic Junod
540b1793e7
Move jsdoc constructor comments
2018-07-17 10:20:26 +02:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Frederic Junod
384920734f
Fix webgl.js path import in webgl shaders
2018-07-17 09:19:04 +02:00
Frederic Junod
7e3e0e54ca
Fix comments indentation
2018-07-17 09:15:16 +02:00
Frédéric Junod
352d77e2ec
Merge pull request #8333 from openlayers/cleanup
...
Fix wrong return type for readHref function
2018-07-01 07:31:56 +02:00
Frederic Junod
ddeb091871
Fix wrong return type for readHref function
2018-06-29 14:15:07 +02:00
Frédéric Junod
bc60c8ec32
Merge pull request #8329 from fredj/better_typing
...
Better jsdoc typing
2018-06-29 13:12:09 +02:00
Frederic Junod
6da2e4cef4
More precise Event typing
2018-06-29 12:53:20 +02:00
Frederic Junod
8c4c70e9f0
Change 'Element' type to 'HTMLElement'
2018-06-29 09:31:59 +02:00
Frederic Junod
0c300d651f
Change 'Image' type to 'HTMLImageElement'
2018-06-29 09:31:32 +02:00
Frédéric Junod
52e286b03c
Merge pull request #8319 from fredj/cleanup
...
Remove reference to setProj4 function in documentation
2018-06-27 11:20:15 +02:00
Frederic Junod
770407f1ba
Remove reference to setProj4 function in documentation
...
The function was removed in #7598
2018-06-27 10:35:03 +02:00
Frédéric Junod
9034f721b5
Merge pull request #8296 from fredj/cleanup
...
Fix style documentation
2018-06-21 13:50:01 +02:00
Frederic Junod
3f55c0a985
Remove extra property in Vector and VectorTile typedef
2018-06-21 11:39:39 +02:00
Frederic Junod
bb3bd7380f
Fix style documentation
2018-06-21 11:32:58 +02:00
Frédéric Junod
0a8fa8f0ed
Merge pull request #8292 from fredj/cleanup
...
Remove now unneeded single quotes in examples
2018-06-21 08:19:53 +02:00
Frédéric Junod
2af63ad0fa
Merge pull request #8291 from fredj/graticule_cleanup
...
Graticule code cleanup
2018-06-21 08:19:29 +02:00
Frederic Junod
a8fa6e53ff
Remove now unneeded single quotes in examples
2018-06-20 17:11:59 +02:00
Frederic Junod
e91fde00c9
Better variables scoping
2018-06-20 15:51:11 +02:00
Frederic Junod
40236fbd8b
Remove local variables in ol/Graticule
2018-06-20 15:51:07 +02:00
Frédéric Junod
ff34bb75cd
Merge pull request #8287 from fredj/rename_TileUTFGrid
...
Rename ol/source/TileUTFGrid to ol/source/UTFGrid
2018-06-19 15:36:06 +02:00
Frédéric Junod
ea7536ea67
Merge pull request #8286 from fredj/f_4872
...
Fix class name property in Overlay documentation
2018-06-19 14:02:47 +02:00
Frederic Junod
f257a8938f
Rename ol/source/TileUTFGrid to ol/source/UTFGrid
2018-06-19 14:02:15 +02:00
Frederic Junod
26b47b7e3c
Fix class name property in Overlay documentation
...
Fixes #4872
2018-06-19 08:55:09 +02:00
Frédéric Junod
dbaf3d25fe
Merge pull request #8285 from openlayers/greenkeeper/google-closure-compiler-20180610.0.2
...
Update google-closure-compiler to the latest version 🚀
2018-06-19 08:32:03 +02:00
Frédéric Junod
bf213f613c
Merge pull request #8283 from fredj/rm_custom-builds_ref
...
Remove references to tutorials/custom-builds.html
2018-06-18 15:19:05 +02:00
Frederic Junod
39037caaf2
Remove references to tutorials/custom-builds.html
2018-06-18 15:04:06 +02:00
Frédéric Junod
6c538c12f6
Merge pull request #8280 from fredj/cleanup
...
Add missing property in VectorTile options, remove params from createRenderer
2018-06-18 13:41:02 +02:00
Frederic Junod
1c897c33ea
Remove extra parameters passed to createRenderer
2018-06-18 11:45:09 +02:00
Frederic Junod
eb902974f3
Add missing properties in option typedef
2018-06-18 11:44:57 +02:00
Frédéric Junod
7f71137147
Merge pull request #8250 from fredj/cleanup
...
Fix various jsdoc types
2018-06-06 16:47:14 +02:00
Frederic Junod
6444e6989d
Add missing properties in option typedef
2018-06-06 16:14:22 +02:00
Frederic Junod
abc9d14dca
Convert projection like to Projection in transform function
2018-06-06 16:14:22 +02:00
Frederic Junod
972781ea9d
Better array typing
2018-06-06 16:14:22 +02:00
Frederic Junod
104a9a56e9
Simplify opt param test for undefined value
...
To make the closure compiler happy
2018-06-06 16:14:22 +02:00
Frédéric Junod
848de0ab64
Merge pull request #8200 from fredj/f_8199
...
Set textAlign to the canvas context
2018-05-17 14:57:48 +02:00
Frederic Junod
b34cdb58e3
Set textAlign to the canvas context
2018-05-17 13:15:04 +02:00
Frédéric Junod
8271a51f65
Merge pull request #8194 from fredj/cleanup
...
miscellaneous code cleanup
2018-05-16 08:31:27 +02:00
Frederic Junod
90ce02941a
Better code indentation
2018-05-14 14:58:36 +02:00
Frederic Junod
9f3b103bbf
Better variables scoping
2018-05-14 14:49:09 +02:00
Frederic Junod
7f0043694d
Remove NOCOMPILE from examples
2018-05-14 14:42:57 +02:00
Frédéric Junod
3890ece2b8
Merge pull request #8179 from openlayers/greenkeeper/google-closure-compiler-20180506.0.0
...
Update google-closure-compiler to the latest version 🚀
2018-05-10 07:32:18 +02:00
Frédéric Junod
c10e58b44e
Merge pull request #8175 from fredj/happy_compiler
...
More typing fixes
2018-05-10 06:37:30 +02:00
Frederic Junod
14deb417a9
Use MSPointerEvent event type in ol/pointer/MsSource
2018-05-09 16:39:59 +02:00
Frederic Junod
d987d99c93
Don't allow null usedTiles to be passed to expireCache
2018-05-09 16:39:59 +02:00
Frederic Junod
0d99fc1f98
Set format parameter to rbush function
...
To remove the following closure compiler warning:
```
Function module$node_modules$rbush$index.default: called with 1 argument(s). Function requires at least 2 argument(s) and at most 2.
```
2018-05-09 16:39:59 +02:00
Frederic Junod
cdb3e1c529
Fix HTML Canvas typing issues
2018-05-09 16:39:59 +02:00
Frédéric Junod
db54301514
Merge pull request #8174 from fredj/image_options_typo
...
Fix typo in ol/style/Image~Options typedef
2018-05-09 15:28:02 +02:00
Frédéric Junod
1e0086460b
Merge pull request #8172 from fredj/ignore_this
...
Ignore 'this' type in function typedef
2018-05-09 15:15:28 +02:00
Frédéric Junod
fcd6366b28
Merge pull request #8173 from fredj/xml_typecheck
...
Fix typing in ol/xml module
2018-05-09 15:12:08 +02:00
Frederic Junod
273be272b7
Fix typo in ol/style/Image~Options typedef
2018-05-09 15:11:21 +02:00
Frederic Junod
9c13e041e3
Add missing typecast in ol/xml
2018-05-09 14:48:17 +02:00
Frederic Junod
05b11759b7
Handle undefined 'this' in ol/xml
2018-05-09 14:48:05 +02:00
Frederic Junod
de5ac6b7c6
Fix typing in ol/xml module
2018-05-09 14:28:14 +02:00
Frederic Junod
854c95f37a
Ignore 'this' type in function typedef
2018-05-09 13:49:59 +02:00
Frédéric Junod
628a49f478
Merge pull request #8169 from fredj/short_module_path
...
Shorter module paths for default exports
2018-05-09 13:31:19 +02:00
Frédéric Junod
c1f503b243
Merge pull request #8171 from fredj/rm_extra_override
...
Remove wrong override tags
2018-05-09 13:22:30 +02:00
Frederic Junod
5b4063fa17
Remove wrong override tags
2018-05-09 12:38:21 +02:00
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00