Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

InvalidValueError: setLabel: not a string; and no text property #132

Open
temirfe opened this issue Sep 7, 2021 · 0 comments
Open

InvalidValueError: setLabel: not a string; and no text property #132

temirfe opened this issue Sep 7, 2021 · 0 comments

Comments

@temirfe
Copy link

temirfe commented Sep 7, 2021

I'm adding a custom markter:
$marker = new Marker([ 'position' => COORDINATES, 'title' => SOME_TITLE, 'label' => "14", 'icon' => MY_PNG, ]);

It shows my custom marker but no label, console says: InvalidValueError: setLabel: not a string; and no text property. If I do 'label' => "(14)" then it works but I don't need to show label with brackets.

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

No branches or pull requests

1 participant