Get a blank route shield graphics context in a specified size
Get a blank route shield sprite in the default size
Set which unhandled sprite IDs this renderer handles
Set which network values this renderer handles
Get the graphic for a specified route
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
Set a callback that fires when shield definitions are loaded
Get the current pixel ration (1x/2x)
Set the storage location for existing and generated sprite images
ProtectedsetSpecify which shields to draw and with what graphics
A shield renderer configured from a JSON specification
Example