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

chore: Add example rectangles to playground

parent 5e8efa77
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -47,6 +47,22 @@
        :fillOpacity="0.5"
        fillColor="#41b782"
      />
      <l-rectangle
        :lat-lngs="[
          [46.334852, -1.509485],
          [46.342596, -1.328731],
          [46.241487, -1.190568],
          [46.234787, -1.358337],
        ]"
        :fill="true"
        color="#35495d"
      />
      <l-rectangle
        :bounds="[
          [46.334852, -1.190568],
          [46.241487, -1.090357],
        ]"
      />
    </l-map>
    <button @click="changeIcon">New kitten icon</button>
  </div>
@@ -61,6 +77,7 @@ import LTooltip from "./components/LTooltip.vue";
import LPopup from "./components/LPopup.vue";
import LPolyline from "./components/LPolyline.vue";
import LPolygon from "./components/LPolygon.vue";
import LRectangle from "./components/LRectangle.vue";

export default {
  components: {
@@ -73,6 +90,7 @@ export default {
    LPopup,
    LPolyline,
    LPolygon,
    LRectangle,
  },
  data() {
    return {