OpenLayers v4.0.1 API - Namespace: source

# Namespace: source

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.source

### Classes

BingMaps
CartoDB
Cluster
Image
ImageArcGISRest
ImageCanvas
ImageMapGuide
ImageStatic
ImageVector
ImageWMS
OSM
Raster
Source
Stamen
Tile
TileArcGISRest
TileDebug
TileImage
TileJSON
TileUTFGrid
TileWMS
UrlTile
Vector
VectorTile
WMTS
XYZ
Zoomify

### Type Definitions

#### ol.source.RasterOperationType{string}

  Raster operation type. Supported values are `'pixel'` and `'image'`.

#### ol.source.State{string}

  State of the source, one of 'undefined', 'loading', 'ready' or 'error'.

#### ol.source.WMSServerType{string}

  Available server types: `'carmentaserver'`, `'geoserver'`, `'mapserver'`, `'qgis'`. These are servers that have vendor parameters beyond the WMS specification that OpenLayers can make use of.

#### ol.source.WMTSRequestEncoding{string}

  Request encoding. One of 'KVP', 'REST'.