Unverified Commit f961c60e authored by Michael Underwood's avatar Michael Underwood Committed by GitHub
Browse files

Merge pull request #246 from erulan14/patch-1

Update tileLayer.js
parents 90c61a4e 583d0bad
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -8,7 +8,14 @@ export const tileLayerProps = {
    default: undefined,
  },
  subdomains: {
    type: String,
    type: [String, Array],
    validator: (prop) => {
      if (typeof prop === "string") return true;
      if (Array.isArray(prop)) {
        return prop.every((subdomain) => typeof subdomain === "string");
      }
      return false;
    },
  },
  detectRetina: {
    type: Boolean,