Skip to content

labelClass doesnt work #388

@guilhermebueno6

Description

@guilhermebueno6

When using the 'labelClass' attribute it doesnt add a class to the label, instead it shows an empty like so:

<div class="" aria-hidden="true" style="color: rgb(0, 0, 0); font-size: 14px; font-weight: bold; font-family: Roboto, Arial, sans-serif;">Label Text</div>

For reference, this is what my Mapper looks like:

Mapper::location('1040 Adelaide St N, London, ON N5Y 2M9')->map([ 'zoom' => 16, 'label' => [ 'text' => 'Churis Bread', 'fontWeight' => 'bold', 'class' => 'hello', ], 'labelClass' => 'mapLabel', 'title' => 'Churis Bread', ]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions