Create a shield renderer
Private
_fontPrivate
_fontsPrivate
_mapPrivate
_networkPrivate
_preCache images that are loaded before fonts so they can be re-rendered later
Private
_routePrivate
_shieldPrivate
_shieldGet a blank route shield graphics context in a specified size
Set debugging options
Set which unhandled sprite IDs this renderer handles
Set which network values this renderer handles
Get the shield definitions
Get the handler function for styleimagemissing event calls
See MapStyleImageMissingEvent for more details.
Set which graphics context to draw shields to
Private
onSet a callback that fires when shield definitions are loaded
Private
reloadSet which MaplibreGL map to handle shields for
Set the storage location for existing and generated sprite images
Protected
setSpecify which shields to draw and with what graphics
Generated using TypeDoc
Base class for shield renderers. Shield renderers use a builder pattern to configure its options.