Loading src/functions/tileLayer.js +8 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,15 @@ export const props = { default: false, }, subdomains: { type: String, type: [String, Array], default: "abc", validator: prop => { if (typeof prop === 'string') return true; if (Array.isArray(prop)) { return prop.every(subdomain => typeof subdomain === 'string'); } return false; } }, detectRetina: { type: Boolean, Loading Loading
src/functions/tileLayer.js +8 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,15 @@ export const props = { default: false, }, subdomains: { type: String, type: [String, Array], default: "abc", validator: prop => { if (typeof prop === 'string') return true; if (Array.isArray(prop)) { return prop.every(subdomain => typeof subdomain === 'string'); } return false; } }, detectRetina: { type: Boolean, Loading