为具有时间动态图像的 ImageryProvider 提供功能 Provides functionality for ImageryProviders that have time dynamic imagery
| 名称 Name | 类型 Type | 说明 Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
成员 Members
获取或设置一个时钟,用于获取保存时间动态参数所用的时间。 Gets or sets a clock that is used to get keep the time used for time dynamic parameters.
currentInterval : TimeInterval
获取当前间隔。 Gets the current interval.
获取或设置时间间隔集合。 Gets or sets a time interval collection.
方法 Methods
检查下一个间隔是否即将到来,并在必要时开始预加载图块。否则,当我们接近下一个间隔时,它只会将图块添加到列表中以进行预加载。 Checks if the next interval is approaching and will start preload the tile if necessary. Otherwise it will just add the tile to a list to preload when we approach the next interval.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
x |
number | 平铺 X 坐标。 The tile X coordinate. |
y |
number | 平铺 Y 坐标。 The tile Y coordinate. |
level |
number | 瓷砖级别。 The tile level. |
request |
Request | 可选 optional 请求对象。仅供内部使用。 The request object. Intended for internal use only. |
从缓存中获取图块(如果可用)。 Gets the tile from the cache if its available.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
x |
number | 平铺 X 坐标。 The tile X coordinate. |
y |
number | 平铺 Y 坐标。 The tile Y coordinate. |
level |
number | 瓷砖级别。 The tile level. |
request |
Request | 可选 optional 请求对象。仅供内部使用。 The request object. Intended for internal use only. |
返回: Returns:
当图像可用时将解析图像的承诺,如果图块不在缓存中则未定义。 A promise for the image that will resolve when the image is available, or undefined if the tile is not in the cache.
