Functions
Sets the license to authorize library usage.
Loads the url as texture data. The response should be a PNG or GeoTIFF image.
The response is cached to the given cache, or to the default global cache, or caching can be disabled by
false
.Use in
image
/image2
property.Loads the url as JSON. The response should be a JSON file.
The response is cached to the given cache, or to the default global cache, or caching can be disabled by
false
.Gets the closest start datetime (i.e. lower or equal) for the given datetime from the given datetimes.
Use to find the correct start image to load, to be used in
image
property.Gets the closest end datetime (i.e. greater or equal) for the given datetime from the given datetimes.
Use to find the correct end image to load, to be used in
image2
property. Applicable only if datetimeInterpolate
is enabled.Gets the datetime weight between the given start and end datetime for the given datetime. The returned value is a number
0-1
.Use in
imageWeight
property. Applicable only if datetimeInterpolate
is enabled.Adds hours to the given datetime.
Adds start hour and end hours to the given datetime. The returned value is a datetime range.
getRasterPoints(image: TextureData, image2: TextureData | null, imageSmoothing: number, imageInterpolation: ImageInterpolation, imageWeight: number, imageType: ImageType, imageUnscale: ImageUnscale, bounds: GeoJSON.BBox, positions: GeoJSON.Position[]): GeoJSON.FeatureCollection<GeoJSON.Point, RasterPointProperties>
getRasterPoints(image: TextureData, image2: TextureData | null, imageSmoothing: number, imageInterpolation: ImageInterpolation, imageWeight: number, imageType: ImageType, imageUnscale: ImageUnscale, bounds: GeoJSON.BBox, positions: GeoJSON.Position[]): GeoJSON.FeatureCollection<GeoJSON.Point, RasterPointProperties>
Gets raster points for the given positions.
Last modified 12d ago