L
L
life2017-05-11 18:14:04
JavaScript
life, 2017-05-11 18:14:04

How to make a line break in Google Maps (title)?

I don’t understand whether it is possible to break the line when specifying a title for a label.
I tried to put \n, but it only works in IE. Are there other options?

label: {
     color: '#000',
     fontWeight: 'bold',
     text: 'Текст \n для переноса'
 }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2017-05-12
@freeExec

<br>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question