Class: SubtractionLoadStrategy

alk.source.SubtractionLoadStrategy

An instance of this class provides a loadStrategy function for an ALK vector Source optioned to use it.

new alk.source.SubtractionLoadStrategy(opt_options)

This constructor creates a Load Strategy for a vector source that is able to subtract extents.

Given an extent it provides the extents (possibly 8 of them) as a result of subtracting any extents previously given.

Option Type Description
minResolution number

This option specifies the minimum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.

maxResolution number

This option specifies the maximum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.

Extends

Methods

getMaxResolution(){number|undefined} inherited

This function returns the maximum resolution.

getMinResolution(){number|undefined} inherited

This function returns the minimum resolution.