提供具有时间动态影像的影像提供者的功能。
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象:
|
Members
获取或设置一个时钟,用于保持时间动态参数所使用的时间。
currentInterval : TimeInterval
获取当前时间区间。
获取或设置时间区间集合。
Methods
检查下一个时间区间是否临近,并在必要时开始预加载瓦片。否则,它将
仅将瓦片添加到一个列表中,以便在临近下一个时间区间时进行预加载。
| Name | Type | Description |
|---|---|---|
x |
number | 瓦片的X坐标。 |
y |
number | 瓦片的Y坐标。 |
level |
number | 瓦片的级别。 |
request |
Request | optional 请求对象。仅用于内部使用。 |
从缓存中获取瓦片(如果可用)。
| Name | Type | Description |
|---|---|---|
x |
number | 瓦片的X坐标。 |
y |
number | 瓦片的Y坐标。 |
level |
number | 瓦片的级别。 |
request |
Request | optional 请求对象。仅用于内部使用。 |
Returns:
一个图像的承诺,当图像可用时将解析;如果瓦片不在缓存中,则为undefined。
