Skip to content

Does not work when map renderer is set to SVG? #83

@JamesHearts

Description

@JamesHearts

image

Seems when the renderer option is set to svg() leaflet-textpath breaks.
Specifically line 78 in leaflet.textpath.js:
var svg = this._map._renderer._container;

This could either be a problem with leaflet not setting ._map._renderer or textpath reading ._container from the wrong field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions