ahocevar
56f37ab347
Disable transition when an interim tile is available
2019-03-03 23:07:46 +01:00
ahocevar
32696638d2
Simplify vector tile code
2019-01-09 13:45:01 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
William Wall
1fbefcab64
Explicitly define type of 'this'
...
I'm not entirely sure that I like this pattern, but there does not
appear to be a better option since TypeScript would recommend:
function(this: SomeClass, ...)
tsdoc does not appear to support an associated annotation for the
function a la @this {SomeClass}.
2018-09-18 10:38:23 -06:00
Frederic Junod
81bab31efb
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-08 11:01:02 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +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
Andreas Hocevar
df848d6673
Add basic tileLoadFunction example and refine advanced example
2018-08-03 09:04:24 +02:00
scroach
68ce6de0ca
Updated Tile loading API docs
2018-08-03 09:01:47 +02:00
Tim Schaub
40486a0ecc
Avoid shadowing EventTarget
2018-07-26 10:14:58 -06:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
ahocevar
9e259c471d
Use extends and super for Tile
2018-07-17 14:15:34 +02:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Frederic Junod
8a4d60192f
Mark optional property with square brackets
2018-03-19 08:29:50 +01:00
ahocevar
e383913b3c
Fix some type paths
2018-03-17 13:34:57 +01:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
1552f27a43
Rename _ol_Tile_ to Tile
2018-01-11 12:06:58 -07:00
Frederic Junod
fc00aecd2e
Rename _ol_TileState_ to TileState
2017-12-22 09:00:46 +01:00
Marc Jansen
c620688758
Rename _ol_events_EventTarget_ to EventTarget
2017-12-15 16:19:03 +01:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +01:00
Frederic Junod
061e0b6618
Named exports from ol/easing
2017-12-14 08:56:38 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00
Tom Payne
e199fbd7f6
Update ol.Tile
2012-07-11 17:20:08 +02:00
Tim Schaub
76d90428bd
Pleasant zoom.
2012-06-23 03:32:27 +02:00
Tim Schaub
789eaa2742
Loaded typo.
2012-06-23 02:11:26 +02:00
Tim Schaub
f86e6f17a9
Absolute position for tiles.
2012-06-22 20:08:44 +02:00
Éric Lemoine
71a804c5e0
[ol.layer.TileLayer] add a getTileForXYZ func
2012-06-22 15:16:58 +02:00
Éric Lemoine
ad2c3e15e3
[ol.Tile] as an isLoading method
2012-06-22 10:51:59 +02:00
Éric Lemoine
f7a956f404
[ol.Tile] add ol.Tile.createConstructor and set width and height to the img archetype
2012-06-22 10:38:40 +02:00
Éric Lemoine
5388657791
[ol.Tile] a tile can be loaded only once
2012-06-21 19:37:16 +02:00
Éric Lemoine
6c76f4621e
[ol.Tile] add a isLoaded function
2012-06-21 19:10:28 +02:00
Éric Lemoine
98495cafc3
[ol.Tile] an image is a HTMLImageElement
2012-06-21 19:00:09 +02:00
Éric Lemoine
1c7e0f8481
add an ol.TileCache and use it in ol.TileLayer
2012-06-21 19:00:09 +02:00
Éric Lemoine
435557b425
[ol.Tile] trigger load and error events
2012-06-21 16:10:52 +02:00
Éric Lemoine
79b0bb74c8
[ol.Tile] add comments for handleImageLoad and handleImageError
2012-06-21 16:10:51 +02:00
Éric Lemoine
e72ab5135c
[ol.Tile] register to image error
2012-06-21 16:10:51 +02:00
Éric Lemoine
1dc6b04ac1
[ol.Tile] register to image load
2012-06-21 16:10:51 +02:00
Tim Schaub
d8b31ab1ff
Class name on archetype image.
2012-06-21 00:33:31 +02:00
Tim Schaub
f9813616e5
Giving a tile bounds.
2012-06-20 23:38:15 +02:00
Éric Lemoine
8d74113897
the Tile constructor now takes a url as the first arg
2012-06-20 09:17:55 +02:00
Éric Lemoine
79af86bde5
minor doc string additions to ol.Tile
2012-06-19 15:01:57 +02:00
Éric Lemoine
ce20ba066c
add an ol.Tile class
2012-06-19 14:52:25 +02:00