Skip to content

CyclomediaButton

andy.rothwell edited this page Aug 31, 2018 · 2 revisions

Cyclomedia/Button

In a Vue template

<div v-once>
  <cyclomedia-button v-if="this.shouldShowCyclomediaButton"
                     v-once
                     :position="'topright'"
                     :link="'cyclomedia'"
                     :imgSrc="'../../src/assets/cyclomedia.png'"
                     @click="handleCyclomediaButtonClick"
  />
</div>

In a Mapboard config file

cyclomedia: {
  enabled: true,
  measurementAllowed: false,
  popoutAble: true,
},