Commit Graph
100 Commits
Author SHA1 Message Date
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
Frédéric Junod d0ff29fca3 Merge pull request #8156 from mainakae/master
fix assert 36 on error documentation #8147
2018-05-07 08:33:39 +02:00
Frédéric Junod 6d09ab122a Merge pull request #8143 from openlayers/misc
Shorter module paths for default exports
2018-04-30 13:56:55 +02:00
Frederic Junod 8684d4f7c6 Shorter module paths for default exports 2018-04-30 13:15:50 +02:00
Frederic Junod 7ed10b9579 Add missing lineDashOffset to ol/style/RegularShape~RenderOptions typedef 2018-04-30 13:15:50 +02:00
Frédéric Junod 382c241b10 Merge pull request #8132 from fredj/types
Add minZoom to the createResolutionConstraint function return type
2018-04-28 09:00:50 +02:00
Frederic Junod c4dba00c54 Add minZoom to the createResolutionConstraint function return type 2018-04-27 16:21:59 +02:00
Frédéric Junod ce84c3bf57 Merge pull request #8127 from fredj/cleanup
Move RasterOperationType into ol/source/Raster
2018-04-27 08:26:39 +02:00
Frédéric Junod da72a7cebc Merge pull request #8123 from fredj/jsdoc_module
More Jsdoc module fixes
2018-04-27 08:21:08 +02:00
Frederic Junod f8435b0c0f Move RasterOperationType into ol/source/Raster
This enum is only used in ol/source/Raster
2018-04-26 15:46:50 +02:00
Frederic Junod 61067e6c2c Module type for ol.Feature and short notation for ol/render/Feature 2018-04-26 15:38:51 +02:00
Frederic Junod 11d9f6de83 Module type for ol.renderer.* 2018-04-26 15:35:48 +02:00
Frederic Junod d8e0212833 Module type for ol.source.* 2018-04-26 15:18:44 +02:00
Frederic Junod 76769f9901 Module type for ol.struct.* 2018-04-26 15:16:21 +02:00
Frederic Junod b4588f7d47 Module type for ol.source.UrlTile 2018-04-26 15:12:52 +02:00
Frédéric Junod 3803f268c2 Merge pull request #8122 from fredj/cluster_format_opt
Remove unused 'format' options from Cluster source constructor
2018-04-25 10:29:02 +02:00
Frédéric Junod d187954133 Merge pull request #8121 from fredj/jsdoc_module
More Jsdoc module fixes
2018-04-25 09:14:09 +02:00
Frederic Junod 3ca4b0e8bd Remove unused 'format' options from Cluster source constructor 2018-04-25 08:27:35 +02:00