- Source:
- source.jsdoc, line 1
Classes
- ol.source.BingMaps
- ol.source.ImageStatic
- ol.source.ImageWMS
- ol.source.MapQuestOpenAerial
- ol.source.MapQuestOSM
- ol.source.OSM
- ol.source.Stamen
- ol.source.Tile
- ol.source.TileDebug
- ol.source.TileJSON
- ol.source.TileWMS
- ol.source.Vector
- ol.source.Vector2
- ol.source.WMTS
- ol.source.XYZ
Members
-
<static> WMSGetFeatureInfoMethod :string
-
Method to use to get WMS feature info.
- Source:
- wmssource.js, line 13
Properties:
Name Type Default Description IFRAMEstring iframe Load the info in an IFRAME. Only works with 'text/html and 'text/plain' as
INFO_FORMAT.XHR_GETstring xhr_get Use an asynchronous GET request. Requires CORS headers or a server at the same origin as the application script.
TypeDefs
-
BingMapsOptions
-
- Source:
- objectliterals.jsdoc, line 95
Properties:
Name Type Description culturestring | undefined Culture.
keystring Bing Maps API key. Get yours at http://bingmapsportal.com/.
stylestring Style.
-
ImageStaticOptions
-
- Source:
- objectliterals.jsdoc, line 107
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.
projectionol.ProjectionLike Projection.
urlstring | undefined Url.
-
ImageWMSOptions
-
- Source:
- objectliterals.jsdoc, line 101
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginnull | string | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
getFeatureInfoOptionsol.source.WMSGetFeatureInfoOptions | undefined Options for GetFeatureInfo.
paramsObject.<string, *> WMS request parameters. At least a
LAYERSparam is required.STYLESis '' by default.VERSIONis '1.3.0' by default.WIDTH,HEIGHT,BBOXandCRS(SRSfor WMS version < 1.3.0) will be set dynamically.projectionol.ProjectionLike Projection.
rationumber | 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.
resolutionsArray.<number> | undefined Resolutions. If specified, requests will be made for these resolutions only.
urlstring | undefined WMS service url.
-
OSMOptions
-
- Source:
- objectliterals.jsdoc, line 99
Properties:
Name Type Description attributionol.Attribution | undefined Attribution.
attributionsArray.<ol.Attribution> | undefined Attributions.
maxZoomnumber | undefined Max zoom.
urlstring | undefined URL.
-
SourceOptions
-
- Source:
- objectliterals.jsdoc, line 103
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
projectionol.ProjectionLike Projection.
-
StamenOptions
-
- Source:
- objectliterals.jsdoc, line 105
Properties:
Name Type Description layerstring Layer.
minZoomnumber | undefined Minimum zoom.
maxZoomnumber | undefined Maximum zoom.
opaqueboolean | undefined Whether the layer is opaque.
urlstring | undefined Url.
-
TileDebugOptions
-
- Source:
- objectliterals.jsdoc, line 97
Properties:
Name Type Description extentol.Extent | undefined Extent.
projectionol.ProjectionLike Projection.
tileGridol.tilegrid.TileGrid | undefined Tile grid.
-
TileJSONOptions
-
- Source:
- objectliterals.jsdoc, line 109
Properties:
Name Type Description crossOriginnull | string | undefined crossOriin setting for image requests.
urlstring Url.
-
TileWMSOptions
-
- Source:
- objectliterals.jsdoc, line 111
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
paramsObject.<string, *> WMS request parameters. At least a
LAYERSparam is required.STYLESis '' by default.VERSIONis '1.3.0' by default.WIDTH,HEIGHT,BBOXandCRS(SRSfor WMS version < 1.3.0) will be set dynamically.crossOriginnull | string | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
getFeatureInfoOptionsol.source.WMSGetFeatureInfoOptions | undefined Options for GetFeatureInfo.
tileGridol.tilegrid.TileGrid | undefined Tile grid.
maxZoomnumber | undefined Maximum zoom.
projectionol.ProjectionLike Projection.
urlstring | undefined WMS service url.
urlsArray.<string> | undefined WMS service urls. Use this instead of
urlwhen the WMS supports multiple urls for GetMap requests. -
Vector2Options
-
- Source:
- objectliterals.jsdoc, line 115
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
extentol.Extent | undefined Extent.
lineStringCollectionsArray.<ol.geom2.LineStringCollection> | undefined Line string collections.
pointCollectionsArray.<ol.geom2.PointCollection> | undefined Point collections.
projectionol.ProjectionLike Projection.
-
VectorOptions
-
- Source:
- objectliterals.jsdoc, line 113
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
dataObject | string | undefined Data to parse.
extentol.Extent | undefined Extent.
logostring | undefined Logo.
parserol.parser.Parser Parser instance to parse data provided as
dataor fetched fromurl.projectionol.ProjectionLike | undefined Projection. Usually the projection is provided by the parser, so this only needs to be set if the parser does not know the SRS (e.g. in some GML flavors), or if the projection determined by the parser needs to be overridden.
urlstring | undefined Server url providing the vector data.
-
WMSGetFeatureInfoOptions
-
- Source:
- objectliterals.jsdoc, line 118
Properties:
Name Type Description methodol.source.WMSGetFeatureInfoMethod Method for requesting GetFeatureInfo. Default is
ol.source.WMSGetFeatureInfoMethod.IFRAME.paramsObject Params for the GetFeatureInfo request. Default is
{'INFO_FORMAT': 'text/html'}. -
WMTSOptions
-
- Source:
- objectliterals.jsdoc, line 121
Properties:
Name Type Description attributionsArray.<ol.Attribution> | undefined Attributions.
crossOriginstring | null | undefined crossOrigin setting for image requests.
extentol.Extent | undefined Extent.
tileGridol.tilegrid.WMTS Tile grid.
projectionol.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.
urlsArray.<string> | undefined Urls.
-
XYZOptions
-
- Source:
- objectliterals.jsdoc, line 123
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.ProjectionLike Projection.
maxZoomnumber | undefined Optional max zoom level. The default is 18.
minZoomnumber | undefined Unsupported (TODO: remove this).
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.