Namespace: style

ol. style

Vector feature rendering styles.

See:

Classes

Chart
FillPattern
FontSymbol
Photo
Shadow
StrokePattern
TextPath

Methods


<static> clearDBPediaStyleCache()

Reset the cache (when fonts are loaded)


<static> dbPediaStyleFunction(options)

Get a default style function for dbpedia

Parameters:
Name Type Description
options
Properties
Name Type Description
glyph string | function | undefined

a glyph name or a function that takes a feature and return a glyph

radius number

radius of the symbol, default 8

fill ol.style.Fill

style for fill, default navy

stroke ol.style.stroke

style for stroke, default 2px white

prefix string

a prefix if many style used for the same type