@chrtco/sdk 0.10.27 → 0.10.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -410,7 +410,7 @@ function buildSources(opts = {}) {
410
410
  if (opts.base) {
411
411
  sources[BASE_REGION] = {
412
412
  type: "vector",
413
- tiles: [`${base}/v1/tiles/${BASE_REGION}/{z}/{x}/{y}.mvt`],
413
+ tiles: [tileTemplate(base, BASE_REGION, "mvt", buildFor(BASE_REGION))],
414
414
  minzoom: BASE_MINZOOM,
415
415
  maxzoom: BASE_MAXZOOM
416
416
  };