Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labelClass doesnt work #388

Open
guilhermebueno6 opened this issue Nov 1, 2022 · 0 comments
Open

labelClass doesnt work #388

guilhermebueno6 opened this issue Nov 1, 2022 · 0 comments

Comments

@guilhermebueno6
Copy link

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', ]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant