Skip to content

CyclomediaWidget

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

Cyclomedia/Widget

In a Vue template

MapPanel.vue:

<slot class='widget-slot' name="cycloWidget" />

Mapboard.vue:

<cyclomedia-widget v-if="this.shouldLoadCyclomediaWidget"
                   slot="cycloWidget"
                   v-show="cyclomediaActive"
                   screen-percent="2"
/>

In a Mapboard config file

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