Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

как указать отступы от краёв карты? #301

Closed
kurteev opened this issue Jun 18, 2021 · 1 comment
Closed

как указать отступы от краёв карты? #301

kurteev opened this issue Jun 18, 2021 · 1 comment

Comments

@kurteev
Copy link

kurteev commented Jun 18, 2021

В параметрах яндекс.карт есть state.margin, который устанавливает отступы от краёв, таким образом при показе нескольких маркеров сильно удалённых друг от друга они не будут выходить за края карты, но видимо компонент карты не может принимать в себя настройки map.margin.Manager, поэтому используя :show-all-markers="true" получается такая картина https://yadi.sk/i/Y6vS5LOVcSUV_A

https://yandex.ru/dev/maps/jsapi/doc/2.1/ref/reference/Map.html#Map__param-state.margin

@PNKBizz
Copy link
Member

PNKBizz commented Oct 16, 2021

Да, пока такой возможности нет. Буду рад PR с дополнением

@PNKBizz PNKBizz closed this as completed Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants