new alk.source.BaseMapSource(opt_options)
This constructor creates a Source object with which to access an ALK Map Tile Service.
Option | Type | Description |
---|---|---|
serviceOptions |
alkx.MapTileServiceOptions | undefined |
This option contains the options to create the |
attributions |
ol.AttributionLike | undefined |
This option is an OpenLayers option passed to the Attributions. |
cacheSize |
number | undefined |
This option is an OpenLayers option passed to the Cache size. Default is 2048. |
crossOrigin |
null | string | undefined |
This option is an OpenLayers option passed to the The crossOrigin attribute for loaded images. Note that you must provide a
|
opaque |
boolean | undefined |
This option is an OpenLayers option passed to the Whether the layer is opaque. |
projection |
ol.ProjectionLike | undefined |
This option is an OpenLayers option passed to the This options contains the projection with which to interpret other options, such as the extent. |
reprojectionErrorThreshold |
number | undefined |
This option is an OpenLayers option passed to the Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision. |
state |
ol.source.State | undefined |
Source state. |
wrapX |
boolean | undefined |
This option is an OpenLayers option passed to the Whether to wrap the world horizontally. The default, |
Extends
Members
-
service{alk.service.Service}
-
This is the service that was used to create the URL. It is not used internally, and just serves as a reference.
Methods
-
setService(service) inherited
-
This method sets the Service for this source. It generates a new URL.
Name Type Description service
alk.service.Service