new Style()
impl/ol/style/Style.js, line 15
Main constructor of the class.
Methods
-
This function gets the canvas size
Returns:
canvas size
-
applyToFeature(feature)
impl/ol/style/Style.js, line 62 -
This function apply style to feature
Name Type Description feature
M.Feature Feature to apply style
-
applyToLayer(layer)
impl/ol/style/Style.js, line 49 -
This function apply style to layer
Name Type Description layer
M.layer.Vector Layer
-
clone()
impl/ol/style/Style.js, line 111 -
TODO
-
drawGeometryToCanvas()
impl/ol/style/Style.js, line 90 -
This function draw the geometry on canvas of style
-
updateCanvas(canvas)
impl/ol/style/Style.js, line 74 -
This function updates the canvas of style of canvas
Name Type Description canvas
HTMLCanvasElement canvas of style
-
updateFacadeOptions(options)
impl/ol/style/Style.js, line 40 -
This function apply style options facade to impl
Name Type Description options
Object