Unverified Commit 5298a173 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
Browse files

chore: add more goodies to playground

parent fbaee31a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,10 +2,12 @@
  <div style="display: flex;">
    <div style="height: 75vh; width: 50vw;">
      <l-map
        ref="map"
        v-model="zoom"
        v-model:zoom="zoom"
        :center="[47.41322, -1.219482]"
        @move="log('move')"
        @ready="onMapReady"
      >
        <l-tile-layer
          url="http://tile.stamen.com/watercolor/{z}/{x}/{y}.jpg"
@@ -165,6 +167,7 @@ import {
  LGeoJson,
  LLayerGroup,
} from "./components";
// } from "../dist/vue-leaflet.esm";

export default {
  components: {
@@ -232,6 +235,9 @@ export default {
        this.iconWidth = Math.floor(this.iconHeight / 2);
      }
    },
    onMapReady() {
      this.log(this.$refs.map);
    },
  },
};
</script>