olx. olx.source

Source:
  • olx.jsdoc, line 17

TypeDefs

BingMapsOptions

Stability: experimental
Properties:
Name Type Description
culture string | undefined

Culture code. Default is en-us.

key string

Bing Maps API key. Get yours at http://bingmapsportal.com/.

imagerySet string

Type of imagery.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

Source:
  • objectliterals.jsdoc, line 103

GeoJSONOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

defaultProjection ol.proj.ProjectionLike

Default projection.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

object GeoJSONObject | undefined

Object.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 105

GPXOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

doc Document | undefined

Document.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

node Node | undefined

Node.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 107

IGCOptions

Stability: not documented
Properties:
Name Type Description
altitudeMode ol.format.IGCZ | undefined

Altitude mode. Possible values are barometric, gps, and none. Default is none.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 111

ImageCanvasOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

canvasFunction ol.CanvasFunctionType

Canvas function. The function returning the canvas element used by the source as an image. The arguments passed to the function are: {ol.Extent} the image extent, {number} the image resolution, {number} the device pixel ratio, {ol.Size} the image size, and {ol.proj.Projection} the image projection. The canvas returned by this function is cached by the source. If the value returned by the function is later changed then dispatchChangeEvent should be called on the source for the source to invalidate the current cached image.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

projection ol.proj.ProjectionLike

Projection.

ratio number | undefined

Ratio. 1 means canvases are the size of the map viewport, 2 means twice the size of the map viewport, and so on. Default is 1.5.

resolutions Array.<number> | undefined

Resolutions. If specified, new canvases will be created for these resolutions only.

state ol.source.State | string | undefined

Source state.

Source:
  • objectliterals.jsdoc, line 125

ImageStaticOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin null | string | undefined

crossOrigin setting for image requests.

extent ol.Extent | undefined

Extent.

imageExtent ol.Extent | undefined

Extent of the image.

imageSize ol.Size | undefined

Size of the image.

logo string | undefined

Logo.

projection ol.proj.ProjectionLike

Projection.

url string

Url.

Source:
  • objectliterals.jsdoc, line 133

ImageVectorOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

projection ol.proj.ProjectionLike

Projection.

ratio number | undefined

Ratio. 1 means canvases are the size of the map viewport, 2 means twice the size of the map viewport, and so on. Default is 1.5.

resolutions Array.<number> | undefined

Resolutions. If specified, new canvases will be created for these resolutions only.

source ol.source.Vector

The vector source from which the vector features drawn in canvas elements are read.

style ol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined

Style to use when rendering features to the canvas.

Source:
  • objectliterals.jsdoc, line 127

ImageWMSOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin null | string | undefined

crossOrigin setting for image requests.

extent ol.Extent | undefined

Extent.

hidpi boolean | undefined

Use the ol.Map#pixelRatio value when requesting the image from the remote server. Default is true.

serverType ol.source.wms.ServerType | string | undefined

The type of the remote WMS server: mapserver, geoserver or qgis. Only needed if hidpi is true. Default is undefined.

logo string | undefined

Logo.

params Object.<string, *>

WMS request parameters. At least a LAYERS param is required. STYLES is ` by default.VERSIONis1.3.0by default.WIDTH,HEIGHT,BBOXandCRS(SRS` for WMS version < 1.3.0) will be set dynamically.

projection ol.proj.ProjectionLike

Projection.

ratio number | undefined

Ratio. 1 means image requests are the size of the map viewport, 2 means twice the size of the map viewport, and so on. Default is 1.5.

resolutions Array.<number> | undefined

Resolutions. If specified, requests will be made for these resolutions only.

url string | undefined

WMS service URL.

Source:
  • objectliterals.jsdoc, line 129

KMLOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

defaultStyle Array.<ol.style.Style> | undefined

Default style.

doc Document | undefined

Document.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

node Node | undefined

Node.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 115

MapGuideOptions

Stability: not documented
Properties:
Name Type Description
url string | undefined

The mapagent url.

displayDpi number | undefined

The display resolution. Default is 96.

metersPerUnit number | undefined

The meters-per-unit value. Default is 1.

extent ol.Extent | undefined

Extent.

hidpi boolean | undefined

Use the ol.Map#pixelRatio value when requesting the image from the remote server. Default is true.

useOverlay boolean | undefined

If true, will use GETDYNAMICMAPOVERLAYIMAGE.

projection ol.proj.ProjectionLike

Projection.

ratio number | undefined

Ratio. 1 means image requests are the size of the map viewport, 2 means twice the size of the map viewport, and so on. Default is 1.

resolutions Array.<number> | undefined

Resolutions. If specified, requests will be made for these resolutions only.

params Object | undefined

Additional parameters.

Source:
  • objectliterals.jsdoc, line 113

MapQuestOptions

Stability: experimental
Properties:
Name Type Description
layer string

Layer.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

Source:
  • objectliterals.jsdoc, line 117

OSMOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin null | string | undefined

crossOrigin setting for image requests. Default is anonymous.

maxZoom number | undefined

Max zoom.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

url string | undefined

URL template. Must include {x}, {y}, and {z} placeholders. Default is //{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png.

Source:
  • objectliterals.jsdoc, line 121

OSMXMLOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

defaultStyle Array.<ol.style.Style> | undefined

Default style.

doc Document | undefined

Document.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

{Node|undefined|

node Node.

projection ol.proj.ProjectionLike

Projection.

reprojectTo ol.proj.ProjectionLike

Re-project to.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 123

StamenOptions

Stability: experimental
Properties:
Name Type Description
layer string

Layer.

minZoom number | undefined

Minimum zoom.

maxZoom number | undefined

Maximum zoom.

opaque boolean | undefined

Whether the layer is opaque.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

url string | undefined

URL template. Must include {x}, {y}, and {z} placeholders.

Source:
  • objectliterals.jsdoc, line 131

TileDebugOptions

Stability: experimental
Properties:
Name Type Description
extent ol.Extent | undefined

Extent.

projection ol.proj.ProjectionLike

Projection.

tileGrid ol.tilegrid.TileGrid | undefined

Tile grid.

Source:
  • objectliterals.jsdoc, line 119

TileJSONOptions

Stability: experimental
Properties:
Name Type Description
crossOrigin null | string | undefined

crossOrigin setting for image requests.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

url string

URL to the TileJSON file.

Source:
  • objectliterals.jsdoc, line 135

TileWMSOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

params Object.<string, *>

WMS request parameters. At least a LAYERS param is required. STYLES is ` by default.VERSIONis1.3.0by default.WIDTH,HEIGHT,BBOXandCRS(SRS` for WMS version < 1.3.0) will be set dynamically.

crossOrigin null | string | undefined

crossOrigin setting for image requests.

extent ol.Extent | undefined

Extent.

gutter number | undefined

The size in pixels of the gutter around image tiles to ignore. By setting this property to a non-zero value, images will be requested that are wider and taller than the tile size by a value of 2 x gutter. Defaults to zero. Using a non-zero value allows artifacts of rendering at tile edges to be ignored. If you control the WMS service it is recommended to address "artifacts at tile edges" issues by properly configuring the WMS service. For example, MapServer has a tile_map_edge_buffer configuration parameter for this. See http://mapserver.org/output/tile_mode.html.

hidpi boolean | undefined

Use the ol.Map#pixelRatio value when requesting the image from the remote server. Default is true.

logo string | undefined

Logo.

tileGrid ol.tilegrid.TileGrid | undefined

Tile grid.

maxZoom number | undefined

Maximum zoom.

projection ol.proj.ProjectionLike

Projection.

serverType ol.source.wms.ServerType | string | undefined

The type of the remote WMS server: mapserver, geoserver or qgis. Only needed if hidpi is true. Default is undefined.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

url string | undefined

WMS service URL.

urls Array.<string> | undefined

WMS service urls. Use this instead of url when the WMS supports multiple urls for GetMap requests.

Source:
  • objectliterals.jsdoc, line 137

TopoJSONOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

defaultProjection ol.proj.ProjectionLike

Default projection.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

object GeoJSONObject | undefined

Object.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

Source:
  • objectliterals.jsdoc, line 109

VectorFileOptions

Stability: not documented
Properties:
Name Type Description
arrayBuffer ArrayBuffer | undefined

Array buffer.

attributions Array.<ol.Attribution> | undefined

Attributions.

doc Document | undefined

Document.

extent ol.Extent | undefined

Extent.

format ol.format.Feature

Format.

logo string | undefined

Logo.

node Node | undefined

Node.

object Object | undefined

Object.

projection ol.proj.ProjectionLike

Projection.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • objectliterals.jsdoc, line 141

VectorOptions

Stability: not documented
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

extent ol.Extent | undefined

Extent.

features Array.<ol.Feature> | undefined

Features.

logo string | undefined

Logo.

projection ol.proj.ProjectionLike

Projection.

state ol.source.State | string | undefined

State.

Source:
  • objectliterals.jsdoc, line 139

WMTSOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin string | null | undefined

crossOrigin setting for image requests.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

tileGrid ol.tilegrid.WMTS

Tile grid.

projection ol.proj.ProjectionLike

Projection.

requestEncoding ol.source.WMTSRequestEncoding | undefined

Request encoding.

layer string

Layer.

style string

Style.

version string | undefined

WMTS version. Default to 1.0.0.

format string | undefined

Format.

matrixSet string

Matrix set.

dimensions Object | undefined

Dimensions.

url string | undefined

URL.

maxZoom number | undefined

Maximum zoom.

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

urls Array.<string> | undefined

Urls.

Source:
  • objectliterals.jsdoc, line 143

XYZOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin null | string | undefined

Cross origin setting for image requests.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

projection ol.proj.ProjectionLike

Projection. Default is EPSG:3857.

maxZoom number | undefined

Optional max zoom level. Default is 18.

minZoom number | undefined

Unsupported (TODO: remove this).

tileLoadFunction ol.TileLoadFunctionType | undefined

Optional function to load a tile given a URL.

tileUrlFunction ol.TileUrlFunctionType | undefined

Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.

url string | undefined

URL template. Must include {x}, {y}, and {z} placeholders.

urls Array.<string> | undefined

An array of URL templates.

Source:
  • objectliterals.jsdoc, line 145

ZoomifyOptions

Stability: experimental
Properties:
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

crossOrigin null | string | undefined

Cross origin setting for image requests.

logo string | undefined

Logo.

url string

Prefix of URL template.

tierSizeCalculation string | undefined

Tier size calculation method: default or truncated.

size ol.Size

Size of the image.

Source:
  • objectliterals.jsdoc, line 147