A
A
Albert Rashitov2014-06-25 10:50:30
JavaScript
Albert Rashitov, 2014-06-25 10:50:30

Adaptive Yandex map on the site. How to do?

It is necessary to implement an adaptive Yandex map on the site. Please tell me how to do it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
andreyqin, 2014-06-25
@albert_rar

When pasting the map script, set the src attribute to width=100%

A
AlexBitOne, 2015-10-25
@AlexBitOne

At width=100%, the validator will swear. If you put max-width and min-width in the same place, then the effect is the same, but the validator will approve. And it also swears at & it’s better to immediately replace it with &

D
Dmitry Davydov, 2015-11-17
@dimadv7

Here it is written in detail: smartlanding.biz/kak-sdelat-adaptivnuyu-yandeks-ka...
In general, indeed, it is enough to change the width by 100%. And the Yandex map designer, now kindly offers to check the checkbox so that the map is adaptive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question