Classes
Type Definitions
-
A function that takes a
ViewStateAndExtentand returns a string or an array of strings representing source attributions. -
AttributionLike{string} {Array.<string>} {Attribution}
-
A type that can be used to provide attribution information for data sources.
It represents either
- a simple string (e.g.
'© Acme Inc.') - an array of simple strings (e.g.
['© Acme Inc.', '© Bacme Inc.']) - a function that returns a string or array of strings (
Attribution)
- a simple string (e.g.
-
Options{Object}
-
Properties:
Name Type Argument Default Description attributionsAttributionLike <optional>
Attributions.
attributionsCollapsibleboolean <optional>
true Attributions are collapsible.
projectionProjectionLike <optional>
Projection. Default is the view projection.
stateState <optional>
'ready' State.
wrapXboolean <optional>
false WrapX.
interpolateboolean <optional>
false Use interpolated values when resampling. By default, the nearest neighbor is used when resampling.
-
State{'undefined'} {'loading'} {'ready'} {'error'}
-
State of the source, one of 'undefined', 'loading', 'ready' or 'error'.