new alk.source.LoadStrategy(opt_options)
This constructor creates a Load Strategy object that governs the loaded content of certain sources.
At its base it may be used to load selectively based on min and max resolution.
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. |
Subclasses
Methods
-
getMaxResolution(){number|undefined}
-
This function returns the maximum resolution.
-
getMinResolution(){number|undefined}
-
This function returns the minimum resolution.