- Source:
- olx.jsdoc, line 17
TypeDefs
-
BingMapsOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 103
Properties:
Name Type Description culturestring | undefined Culture code. Default is
en-us.keystring Bing Maps API key. Get yours at http://bingmapsportal.com/.
imagerySetstring Type of imagery.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
-
GeoJSONOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 105
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
defaultProjectionol.proj.ProjectionLike Default projection.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
objectGeoJSONObject | undefined Object.
projectionol.proj.ProjectionLike Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
GPXOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 107
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
docDocument | undefined Document.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
nodeNode | undefined Node.
projectionol.proj.ProjectionLike Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
IGCOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 111
Properties:
Name Type Description altitudeModeol.format.IGCZ | undefined Altitude mode. Possible values are
barometric,gps, andnone. Default isnone.projectionol.proj.ProjectionLike Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
ImageCanvasOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 125
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
canvasFunctionol.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 thendispatchChangeEventshould be called on the source for the source to invalidate the current cached image.extentol.Extent | undefined Extent.
logostring | undefined Logo.
projectionol.proj.ProjectionLike Projection.
rationumber | 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.resolutionsArray.<number> | undefined Resolutions. If specified, new canvases will be created for these resolutions only.
stateol.source.State | string | undefined Source state.
-
ImageStaticOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 133
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
imageExtentol.Extent | undefined Extent of the image.
imageSizeol.Size | undefined Size of the image.
logostring | undefined Logo.
projectionol.proj.ProjectionLike Projection.
urlstring Url.
-
ImageVectorOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 127
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
projectionol.proj.ProjectionLike Projection.
rationumber | 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.resolutionsArray.<number> | undefined Resolutions. If specified, new canvases will be created for these resolutions only.
sourceol.source.Vector The vector source from which the vector features drawn in canvas elements are read.
styleol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined Style to use when rendering features to the canvas.
-
ImageWMSOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 129
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
hidpiboolean | undefined Use the
ol.Map#pixelRatiovalue when requesting the image from the remote server. Default istrue.serverTypeol.source.wms.ServerType | string | undefined The type of the remote WMS server:
mapserver,geoserverorqgis. Only needed ifhidpiistrue. Default isundefined.logostring | undefined Logo.
paramsObject.<string, *> WMS request parameters. At least a
LAYERSparam is required.STYLESis` by default.VERSIONis1.3.0by default.WIDTH,HEIGHT,BBOXandCRS(SRS` for WMS version < 1.3.0) will be set dynamically.projectionol.proj.ProjectionLike Projection.
rationumber | undefined Ratio.
1means image requests are the size of the map viewport,2means twice the size of the map viewport, and so on. Default is1.5.resolutionsArray.<number> | undefined Resolutions. If specified, requests will be made for these resolutions only.
urlstring | undefined WMS service URL.
-
KMLOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 115
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
defaultStyleArray.<ol.style.Style> | undefined Default style.
docDocument | undefined Document.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
nodeNode | undefined Node.
projectionol.proj.ProjectionLike Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
MapGuideOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 113
Properties:
Name Type Description urlstring | undefined The mapagent url.
displayDpinumber | undefined The display resolution. Default is
96.metersPerUnitnumber | undefined The meters-per-unit value. Default is
1.extentol.Extent | undefined Extent.
hidpiboolean | undefined Use the
ol.Map#pixelRatiovalue when requesting the image from the remote server. Default istrue.useOverlayboolean | undefined If
true, will useGETDYNAMICMAPOVERLAYIMAGE.projectionol.proj.ProjectionLike Projection.
rationumber | undefined Ratio.
1means image requests are the size of the map viewport,2means twice the size of the map viewport, and so on. Default is1.resolutionsArray.<number> | undefined Resolutions. If specified, requests will be made for these resolutions only.
paramsObject | undefined Additional parameters.
-
MapQuestOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 117
Properties:
Name Type Description layerstring Layer.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
-
OSMOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 121
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined crossOrigin setting for image requests. Default is
anonymous.maxZoomnumber | undefined Max zoom.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
urlstring | undefined URL template. Must include
{x},{y}, and{z}placeholders. Default is//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png. -
OSMXMLOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 123
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
defaultStyleArray.<ol.style.Style> | undefined Default style.
docDocument | undefined Document.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
{Node|undefined|node Node.
projectionol.proj.ProjectionLike Projection.
reprojectTool.proj.ProjectionLike Re-project to.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
StamenOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 131
Properties:
Name Type Description layerstring Layer.
minZoomnumber | undefined Minimum zoom.
maxZoomnumber | undefined Maximum zoom.
opaqueboolean | undefined Whether the layer is opaque.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
urlstring | undefined URL template. Must include
{x},{y}, and{z}placeholders. -
TileDebugOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 119
Properties:
Name Type Description extentol.Extent | undefined Extent.
projectionol.proj.ProjectionLike Projection.
tileGridol.tilegrid.TileGrid | undefined Tile grid.
-
TileJSONOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 135
Properties:
Name Type Description crossOriginnull | string | undefined crossOrigin setting for image requests.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
urlstring URL to the TileJSON file.
-
TileWMSOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 137
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
paramsObject.<string, *> WMS request parameters. At least a
LAYERSparam is required.STYLESis` by default.VERSIONis1.3.0by default.WIDTH,HEIGHT,BBOXandCRS(SRS` for WMS version < 1.3.0) will be set dynamically.crossOriginnull | string | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
gutternumber | 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 atile_map_edge_bufferconfiguration parameter for this. See http://mapserver.org/output/tile_mode.html.hidpiboolean | undefined Use the
ol.Map#pixelRatiovalue when requesting the image from the remote server. Default istrue.logostring | undefined Logo.
tileGridol.tilegrid.TileGrid | undefined Tile grid.
maxZoomnumber | undefined Maximum zoom.
projectionol.proj.ProjectionLike Projection.
serverTypeol.source.wms.ServerType | string | undefined The type of the remote WMS server:
mapserver,geoserverorqgis. Only needed ifhidpiistrue. Default isundefined.tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
urlstring | undefined WMS service URL.
urlsArray.<string> | undefined WMS service urls. Use this instead of
urlwhen the WMS supports multiple urls for GetMap requests. -
TopoJSONOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 109
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
defaultProjectionol.proj.ProjectionLike Default projection.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
objectGeoJSONObject | undefined Object.
projectionol.proj.ProjectionLike Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.
textstring | undefined Text.
urlstring | undefined URL.
-
VectorFileOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 141
Properties:
Name Type Description arrayBufferArrayBuffer | undefined Array buffer.
attributionsArray.<ol.Attribution> | undefined Attributions.
docDocument | undefined Document.
extentol.Extent | undefined Extent.
formatol.format.Feature Format.
logostring | undefined Logo.
nodeNode | undefined Node.
objectObject | undefined Object.
projectionol.proj.ProjectionLike Projection.
textstring | undefined Text.
urlstring | undefined URL.
urlsArray.<string> | undefined URLs.
-
VectorOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 139
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
extentol.Extent | undefined Extent.
featuresArray.<ol.Feature> | undefined Features.
logostring | undefined Logo.
projectionol.proj.ProjectionLike Projection.
stateol.source.State | string | undefined State.
-
WMTSOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 143
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginstring | null | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
tileGridol.tilegrid.WMTS Tile grid.
projectionol.proj.ProjectionLike Projection.
requestEncodingol.source.WMTSRequestEncoding | undefined Request encoding.
layerstring Layer.
stylestring Style.
versionstring | undefined WMTS version. Default to
1.0.0.formatstring | undefined Format.
matrixSetstring Matrix set.
dimensionsObject | undefined Dimensions.
urlstring | undefined URL.
maxZoomnumber | undefined Maximum zoom.
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
urlsArray.<string> | undefined Urls.
-
XYZOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 145
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined Cross origin setting for image requests.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
projectionol.proj.ProjectionLike Projection. Default is
EPSG:3857.maxZoomnumber | undefined Optional max zoom level. Default is
18.minZoomnumber | undefined Unsupported (TODO: remove this).
tileLoadFunctionol.TileLoadFunctionType | undefined Optional function to load a tile given a URL.
tileUrlFunctionol.TileUrlFunctionType | undefined Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.
urlstring | undefined URL template. Must include
{x},{y}, and{z}placeholders.urlsArray.<string> | undefined An array of URL templates.
-
ZoomifyOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 147
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined Cross origin setting for image requests.
logostring | undefined Logo.
urlstring Prefix of URL template.
tierSizeCalculationstring | undefined Tier size calculation method:
defaultortruncated.sizeol.Size Size of the image.
OpenLayers 3