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

Prettify

parent 16c02520
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -82,7 +82,11 @@ export default {
    };

    onMounted(async () => {
      const { DomEvent, divIcon: lDivIcon, icon: lIcon } = useGlobalLeaflet
      const {
        DomEvent,
        divIcon: lDivIcon,
        icon: lIcon,
      } = useGlobalLeaflet
        ? WINDOW_OR_GLOBAL.L
        : await import("leaflet/dist/leaflet-src.esm");

+2 −4
Original line number Diff line number Diff line
@@ -12,10 +12,8 @@ export const circleProps = {
};

export const setupCircle = (props, leafletRef, context) => {
  const {
    options: circleMarkerOptions,
    methods: circleMarkerMethods,
  } = setupCircleMarker(props, leafletRef, context);
  const { options: circleMarkerOptions, methods: circleMarkerMethods } =
    setupCircleMarker(props, leafletRef, context);

  const options = propsToLeafletOptions(
    props,
+2 −4
Original line number Diff line number Diff line
@@ -10,10 +10,8 @@ export const controlProps = {
};

export const setupControl = (props, leafletRef) => {
  const {
    options: componentOptions,
    methods: componentMethods,
  } = setupComponent(props);
  const { options: componentOptions, methods: componentMethods } =
    setupComponent(props);

  const options = propsToLeafletOptions(props, controlProps, componentOptions);

+2 −4
Original line number Diff line number Diff line
@@ -28,10 +28,8 @@ export const layerProps = {
export const setupLayer = (props, leafletRef, context) => {
  const addLayer = inject("addLayer");
  const removeLayer = inject("removeLayer");
  const {
    options: componentOptions,
    methods: componentMethods,
  } = setupComponent(props);
  const { options: componentOptions, methods: componentMethods } =
    setupComponent(props);

  const options = propsToLeafletOptions(props, layerProps, componentOptions);

+2 −4
Original line number Diff line number Diff line
@@ -51,10 +51,8 @@ export const pathProps = {
};

export const setupPath = (props, leafletRef, context) => {
  const {
    options: interactiveLayerOptions,
    methods: interactiveLayerMethods,
  } = setupInteractiveLayer(props, leafletRef, context);
  const { options: interactiveLayerOptions, methods: interactiveLayerMethods } =
    setupInteractiveLayer(props, leafletRef, context);

  const options = propsToLeafletOptions(
    props,
Loading