Skip to content

MeasureControl

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

MeasureControl

The MeasureControl is from this Github project.

In a Vue template

The <measure-control> tag is put inside a <map_> tag:

<map_>
  ...
  <div v-once
       v-if="this.measureControlEnabled"
  >
    <measure-control :position="'bottomleft'" />
  </div>
  ...
</map_>

In a Mapboard config file

The measure control is included automatically.

Clone this wiki locally