Answer the question
In order to leave comments, you need to log in
Change the color of the Yandex map label?
Hello!
There is such a task: to make labels of different colors on the Yandex map, but at the same time the label (the icon itself) must be vector, and they will change the color through the admin panel, simply indicating each address its own color, then they should be inline (or something else) inserted into the label and paint it.
How can I do that? I can't come up with a solution myself, please help :)
Answer the question
In order to leave comments, you need to log in
https://yandex.ru/blog/mapsapi/50404
In general, take a look here.
https://tech.yandex.ru/maps/jsbox/2.1/icon_customImage
It seems to me that you can do a hack and put your vector xml markup in ymaps.templateLayoutFactory.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question