Classes
- Attribution
- Collection
- CollectionEvent
- DeviceOrientation
- DragBoxEvent
- DrawEvent
- Feature
- FeatureOverlay
- Geolocation
- ImageTile
- IView
- IView2D
- IView3D
- Kinetic
- Map
- MapBrowserEvent
- MapEvent
- Object
- ObjectEvent
- Observable
- Overlay
- Sphere
- Tile
- TileCoord
- View
- View2D
Namespaces
Members
-
experimental staticol.inherits
-
ol.inherits is an alias to the goog.inherits function. It is exported for use in non-compiled application code.
FIXME: We use a new line to fake the linter. Without the new line the linter complains with:
"Missing newline between constructor and goog.inherits"
Type Definitions
-
experimental ol.CanvasFunctionType()
-
A function returning the canvas element (
{HTMLCanvasElement}) used by the source as an image. The arguments passed to the function are:ol.Extentthe image extent,{number}the image resolution,{number}the device pixel ratio,ol.Sizethe image size, andol.proj.Projectionthe image projection. The canvas returned by this function is cached by the source. The this keyword inside the function references theol.source.ImageCanvas. -
experimental ol.CenterConstraintType()
-
-
experimental ol.CoordinateArray.<number>
-
An array of numbers representing a coordinate. Example:
[16, 48]. -
experimental ol.CoordinateArrayArray.<ol.Coordinate>
-
An array of coordinate arrays.
-
experimental ol.CoordinateFormatType()
-
A function that takes a
ol.Coordinateand transforms it into a{string}. -
experimental ol.ExtentArray.<number>
-
An array of numbers representing an extent:
[minx, miny, maxx, maxy]. -
experimental ol.OverlayPositioningstring
-
Overlay position:
'bottom-left','bottom-center','bottom-right','center-left','center-center','center-right','top-left','top-center','top-right' -
experimental ol.PixelArray.<number>
-
An array with two elements, representing a pixel. The first element is the x-coordinate, the second the y-coordinate of the pixel.
-
experimental ol.PreRenderFunction()
-
Function to perform manipulations before rendering. This function is called with the
ol.Mapas first and an optionaloli.FrameStateas second argument. Returntrueto keep this function for the next frame,falseto remove it. -
experimental ol.RendererHintstring
-
Available renderers:
'canvas','dom'or'webgl'. -
experimental ol.SizeArray.<number>
-
An array of numbers representing a size:
[width, height]. -
experimental ol.TileLoadFunctionType()
-
A function that takes an
ol.ImageTilefor the image tile and a{string}for the src as arguments. -
experimental ol.TileUrlFunctionType()
-
A function that takes an
ol.TileCoordfor the tile coordinate, a{number}representing the pixel ratio and anol.proj.Projectionfor the projection as arguments and returns a{string}or undefined representing the tile URL. -
experimental ol.TransformFunction()
-
A transform function accepts an array of input coordinate values, an optional output array, and an optional dimension (default should be 2). The function transforms the input coordinate values, populates the output array, and returns the output array.
OpenLayers 3