This is the namespace that contains specific ortho sources to be viewed in a
Mapspace.ortho.Viewer.
- Source:
- mapspace-ortho/source/bu.ortho.source.jsdoc
Classes
Type Definitions
-
TileImageOptions
-
Options for
Mapspace.ortho.source.TileImage.- Source:
- mapspace-ortho/typedefs.js
Properties:
Name Type Description attributionsol.AttributionLike | undefined Attributions.
cacheSizenumber | undefined Cache size. Default is
2048.crossOriginstring | null | undefined The
crossOriginattribute for loaded images. Note that you must provide acrossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.logostring | olx.LogoOptions | undefined Logo.
opaqueboolean | undefined Whether the layer is opaque.
projectionol.ProjectionLike Projection.
reprojectionErrorThresholdnumber | undefined Maximum allowed reprojection error (in pixels). Default is
0.5. Higher values can increase reprojection performance, but decrease precision.stateol.source.State | undefined Source state.
tileClassfunction | undefined Class used to instantiate image tiles. Default is
ol.ImageTile.tileGridol.tilegrid.TileGrid | undefined Tile grid.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL. The default is
function(imageTile, src) { imageTile.getImage().src = src; };tilePixelRationumber | undefined The pixel ratio used by the tile service. For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then
tilePixelRatioshould be set to2. Default is1.tileUrlFunctionol.TileUrlFunctionType | undefined Optional function to get tile URL given a tile coordinate and the projection.
urlstring | undefined URL template. Must include
{x},{y}or{-y}, and{z}placeholders. A{?-?}template pattern, for examplesubdomain{a-f}.domain.com, may be used instead of defining each one separately in theurlsoption.urlsArray.<string> | undefined An array of URL templates.
wrapXboolean | undefined Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.imagerySetstring | undefined Type of imagery.
autoSwitchLayerboolean | undefined If auto switcher this source when rotation changes.
-
WMTSEventType
-
Event types for a
ol.ortho.source.WMTS.Name Value Description Mapspace.ortho.source.WMTSEventType.CAPABILITIESLOADED capabilitiesloaded The capabilities request has ended Mapspace.ortho.source.WMTSEventType.OPTIONSCHANGED optionschanged The URL params have changed - Source:
- mapspace-ortho/enums.js
-
WMTSOptions
-
Options for
Mapspace.ortho.source.WMTS.- Source:
- mapspace-ortho/typedefs.js
Properties:
Name Type Description attributionsol.AttributionLike | undefined Attributions.
cacheSizenumber | undefined Cache size. Default is
2048.crossOriginstring | null | undefined The
crossOriginattribute for loaded images. Note that you must provide acrossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.logostring | olx.LogoOptions | undefined Logo.
tileGridol.tilegrid.WMTS Tile grid.
projectionol.ProjectionLike Projection.
reprojectionErrorThresholdnumber | undefined Maximum allowed reprojection error (in pixels). Default is
0.5. Higher values can increase reprojection performance, but decrease precision.requestEncodingol.source.WMTSRequestEncoding | string | undefined Request encoding. Default is
KVP.layerstring Layer name as advertised in the WMTS capabilities.
stylestring Style name as advertised in the WMTS capabilities.
tileClassfunction | undefined Class used to instantiate image tiles. Default is
ol.ImageTile.tilePixelRationumber | undefined The pixel ratio used by the tile service. For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then
tilePixelRatioshould be set to2. Default is1.versionstring | undefined WMTS version. Default is
1.0.0.formatstring | undefined Image format. Default is
image/jpeg.matrixSetstring Matrix set.
dimensionsObject | undefined Additional "dimensions" for tile requests. This is an object with properties named like the advertised WMTS dimensions.
urlstring | undefined URL template. Must include
{x},{y}or{-y}, and{z}placeholders. A{?-?}template pattern, for examplesubdomain{a-f}.domain.com, may be used instead of defining each one separately in theurlsoption.tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL. The default is
function(imageTile, src) { imageTile.getImage().src = src; };urlsArray.<string> | undefined An array of URL templates.
wrapXboolean | undefined Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.userLayerNamestring | undefined Name of the user layer currently loaded in this source, if any.
serverLayerstring | undefined The server layer is each collection of related data that is stored in Mapspace servers. This attribute is parametrized in the URL requests as a BASELAYER param.
serverTimestring | undefined This time is the filter to add to current time filter in the viewer. Both time filters are merged.
serverExtentol.geom.Polygon | undefined The server extent is a Polygon geometry that defines the limit of the server layer. Tiles should not be requested outside this extent. If not defined then all the tiles can be requested.
overlaystring | undefined Overlay name.
timestring | undefined This time is the filter from the viewer that will be merged with the serverTime.
autoSwitchLayerboolean | undefined If auto switcher this source when rotation changes.
preCachedLevelsnumber | undefined Number of zoom levels that should be pre cached each time the capabilities response returns. If no defined then none zoom level will be pre-cached.