Methods

(async, inner) svg_templates(templates) → {Promise.<void>}

The method parses the templates object param. Templates which are not yet available as mapp.utils.svgSymbols.templates{} will fetched and stored for use in feature style methods.

The svgTemplates method will resolve once all templates have been parsed and loaded.

Parameters:
NameTypeDescription
templatesobject

An object with svg_template properties to load.

Returns:
Type: 
Promise.<void>