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

Remove defaults that overwrite Leaflet's. Clean up prop def'ns.

parent bea51bf3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ export const props = {
   */
  radius: {
    type: Number,
    default: null,
  },
};

+5 −6
Original line number Diff line number Diff line
@@ -2,17 +2,16 @@ import { props as pathProps, setup as pathSetup } from "./path";

export const props = {
  ...pathProps,
  latLng: {
    type: [Object, Array],
    custom: true,
    default: null,
  },
  /**
   * Radius of the marker in pixels.
   */
  radius: {
    type: Number,
    default: null,
  },
  latLng: {
    type: [Object, Array],
    required: true,
    custom: true,
  },
};

+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ export const props = {
  options: {
    type: Object,
    default: () => ({}),
    custom: true,
  },
};

+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ export const props = {
  ...componentProps,
  position: {
    type: String,
    default: "topright",
  },
};

+0 −2
Original line number Diff line number Diff line
@@ -4,8 +4,6 @@ export const props = {
  ...controlProps,
  prefix: {
    type: String,
    default: "Vue-Leaflet",
    custom: true,
  },
};

Loading