Class: CanvasBase

ol.control. CanvasBase

Attribution Control integrated in the canvas (for jpeg/png


new CanvasBase( [options])

Parameters:
Name Type Argument Description
options Object <optional>

extend the ol.control options.

Properties
Name Type Description
style ol.style.Style

style used to draw the title.

See:

Extends

Methods


getCanvas()

Get canvas overlay


getFill()

Get fill


getStroke()

Get stroke


getStyle()

Get style


getTextFill()

Get text fill


getTextFont()

Get text font


getTextStroke()

Get stroke


setMap(map)

Remove the control from its current map and attach it to the new map. Subclasses may set up event handlers to get notified about changes to the map here.

Parameters:
Name Type Description
map o.Map

Map.


setStyle()

Set Style