Commit e4f16b04 authored by Michael Underwood's avatar Michael Underwood
Browse files

Add div to show and set bound map zoom

parent d3b42325
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@
        </l-tooltip>
      </l-marker>
    </l-map>
    <div>
      Current zoom: {{ zoom }}.
      <button @click="zoomToZero">Zoom all the way out</button>
    </div>
  </div>
</template>
<script>
@@ -42,6 +46,9 @@ export default {
    log(a) {
      console.log(a);
    },
    zoomToZero() {
      this.zoom = 0;
    },
  },
};
</script>