Unverified Commit 4af9d12b authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
Browse files

fix: use domutils for consistency

parent 85270bd7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ export default {
    const { options, methods } = gridLayerSetup(props, leafletRef);

    onMounted(async () => {
      const { GridLayer, DomEvent } = await import(
      const { GridLayer, DomEvent, DomUtil } = await import(
        "leaflet/dist/leaflet-src.esm"
      );

@@ -44,7 +44,7 @@ export default {
      const GLayer = GridLayer.extend({
        createTile(coords) {
          const key = leafletRef.value._tileCoordsToKey(coords);
          tileComponents[key] = document.createElement("div");
          tileComponents[key] = DomUtil.create("div");

          let vNode = h(
            { setup: props.childRender, props: ["coords"] },