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:
Name | Type | Description |
---|---|---|
templates | object | An object with svg_template properties to load. |
- Source
Returns:
- Type:
- Promise.<void>