A
A
alaskafx2022-03-11 20:07:21
Yandex maps
alaskafx, 2022-03-11 20:07:21

How to solve th is not a function?

I'm trying to connect the card, but I get an error t.h is not a function
Code:

<yandex-map ymap-class="map-box" :coords="coords" :zoom="11" :controls="controls" :scroll-zoom="scrollZoom">
          <ymap-marker
            marker-type="placemark"
            :coords="[54.7, 39.7]"
            :markerId="1"
            hint-content="Hint content 1"
            :balloon="{header: 'header', body: 'body', footer: 'footer'}"
            :icon="{color: 'green', glyph: 'cinema'}"
          />
          <ymap-marker
            marker-type="placemark"
            :coords="[54.6, 39.8]"
            :markerId="2"
            hint-content="Hint content 1"
            :balloon="{header: 'header', body: 'body', footer: 'footer'}"
            :icon="{color: 'green', glyph: 'cinema'}"
          />
        </yandex-map>


coords: [54.6, 39.8],
      controls: ['fullscreenControl', 'searchControl', 'zoomControl'],
      scrollZoom: false,


How to decide?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question