M
M
mumus2018-10-01 17:05:34
JavaScript
mumus, 2018-10-01 17:05:34

Maybe there is a way to insert html code into a label on the map?

Hello, please tell me if there is any simple and tricky way to feed Yandex maps in the iconContent field with some html code without using the templateLayoutFactory.
var iconCaption = 'blablabla';
iconCaption: iconCaption
21ac49bf-d11a-4503-825c-1a5ebfe9f9ad.png
Thank you

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2018-10-02
@mumus

Are you doing something wrong
https://codepen.io/aboldyrev/pen/ePpvoE?editors=1011

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question