Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

проблема с типом restrictMapArea #283

Open
YanMakarov opened this issue Jan 18, 2021 · 0 comments · May be fixed by #284
Open

проблема с типом restrictMapArea #283

YanMakarov opened this issue Jan 18, 2021 · 0 comments · May be fixed by #284
Labels
types Problems with types

Comments

@YanMakarov
Copy link

YanMakarov commented Jan 18, 2021

Добрый день, сейчас у опции restrictMapArea указан тип restrictMapArea?: boolean;,
в самой библиотеке яндекс указано: options.restrictMapArea - Type: Boolean|Number[][].
Просьба добавить недостающий тип, иначе вылетает ошибка ts при попытке добавить координаты, например

         options={{
            minZoom: 7,
            restrictMapArea: [
              [54.751574, 34.573856],
              [56.751574, 39.573856],
            ],
          }} 
@mmarkelov mmarkelov added the types Problems with types label Jan 18, 2021
@mmarkelov mmarkelov linked a pull request Jan 18, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
types Problems with types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants