Namespace: style

ol. style

Classes

Chart
FillPattern
FlowLine
FontSymbol
Photo
Profile
Shadow
StrokePattern
TextPath

Namespaces

Image
Style

Members


<static> geoportailStyle

Get a style for Geoportail WFS features

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


<static> geoportailStyle(typeName, options)

Get ol style for an IGN WFS layer

Parameters:
Name Type Description
typeName string
options Object