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
Tim Schaub
e49c691a22
Add types for the UTFGrid and TileJSON JSON responses
2018-09-06 10:11:35 -06: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
Frederic Junod
c8747d87a4
Add missing properties in TextState typedef
2018-09-06 09:30:28 +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
Tim Schaub
52b30ead65
Rework createXYZ
2018-09-05 12:00:54 -06:00
Tim Schaub
60e907fb48
Add a statement to trigger TypeScript checking
...
TypeScript is not checking JSDoc comments attached to the EOF token.
See https://github.com/Microsoft/TypeScript/issues/26905
2018-09-05 09:13:24 -06: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
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Marc Jansen
d6e8ecea5e
Merge pull request #8579 from marcjansen/tsc-ts2367
...
Better type annotation
2018-09-04 18:41:56 +02:00
Marc Jansen
c691e7ca7a
Merge pull request #8580 from marcjansen/tsc-ts2367-one-less
...
Cast POINTER_ID before comparison
2018-09-04 18:41:04 +02:00
Marc Jansen
281873f22a
Cast POINTER_ID before comparison
2018-09-04 09:37:15 +02:00
Marc Jansen
99245b47f7
Better type annotation
2018-09-03 21:17:56 +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
Frederic Junod
595009726f
Fix freehand polygon drawing
...
Fixes #8360
2018-09-03 11:56:31 +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
Andreas Hocevar
a30f8859aa
Merge pull request #8569 from ahocevar/simpler-faster-proj-get
...
Make proj~get simpler and faster
2018-08-31 16:33:08 +02:00
ahocevar
9eeacc585f
Make proj~get simpler and faster
2018-08-31 12:19:23 +02:00
Frederic Junod
20a347b0c9
Use 'Element' type instead of 'Node'
2018-08-31 11:36:16 +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
Andreas Hocevar
ea9517ffd5
Merge pull request #8510 from gberaudo/fix_WMTS_dimensions_handling
...
Fix WMTS URLs with dimensions
2018-08-22 13:31:53 +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
ahocevar
1baa8be269
Add 'rendercomplete' event
2018-08-22 09:53:24 +02:00
Tino Desjardins
b56a7c0fa3
Update link to base class in docs
2018-08-20 17:03:59 +02:00
Tino Desjardins
1605741a92
Update link to base class in docs
2018-08-20 10:23:22 +02:00
Tim Schaub
68cf960028
Re-export Projection from ol/proj for convenience
2018-08-18 14:14:10 -06:00
Matthias Schiffer
94c6afd65d
Avoid HTML entities like and ©
...
Use numerical entities instead for XHTML compatiblity.
2018-08-18 13:13:27 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
Andreas Hocevar
07cb678271
Merge pull request #8499 from ahocevar/focus
...
Round center in viewState to pixels
2018-08-16 16:41:15 +02:00
Guillaume Beraudo
315cfa1033
Fix WMTS layers URLs with dimensions
2018-08-16 15:34:56 +02:00
Andreas Hocevar
adce78e19e
Remove redundant if block
2018-08-16 07:04:53 +02:00
ahocevar
161c5b0105
Better documentation of the zIndex default
2018-08-15 11:24:29 +02:00
ahocevar
8ab1589f9a
Add getOverlay method to access sketch and selection layers
2018-08-15 10:59:38 +02:00
ahocevar
95533e2425
Use configured zIndex for unmanaged layers
2018-08-15 10:58:52 +02:00
ahocevar
b9aceb23ac
Let renderer decide whether to snapToPixel or not, also for text
2018-08-09 18:16:58 +02:00
ahocevar
f382ddf230
Remove snapToPixel option and deprecate getters/setters
2018-08-09 18:16:58 +02:00
ahocevar
dbdaa73cf2
Only change interacting flag when dragging
2018-08-09 18:16:58 +02:00
ahocevar
f3cd1d8dfd
Round center in viewState
2018-08-09 18:16:58 +02:00
ahocevar
fc19e3e12e
Avoid block scope issues in transpiled code
2018-08-09 10:22:42 +02:00
MarquesDeAzevedo
85e1f11adb
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
remove not required regexp modifier
2018-08-07 10:40:08 +02:00
MarquesDeAzevedo
47c4e1a165
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
combine split and replace
2018-08-07 09:56:17 +02:00
MarquesDeAzevedo
654073cd3d
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
Some WMTS getCapabilities return <MatrixSet><TopLeftCorner> with more than one whitespace as delimiter between the coordinates. This leads to the layer not being displayed, because the origin_ property of ol.tilegrid.TileGrid is not set.
Error in ol.tilegrid.TileGrid.prototype.getTileCoordForXYAndZ_: JavaScript runtime error: Unable to get property '0' of undefined or null reference
2018-08-07 08:40:42 +02:00