@visitscotland/component-library 5.21.2 → 5.22.0
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/client/manifest.json +2 -2
- package/dist/client/scripts/199207d8c2e1af121651.js +1 -0
- package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +2 -0
- package/dist/components/src/custom-components/maps/index.d.ts +2 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +11 -2
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/b9cb221f563e1ae97305.js +0 -1
- /package/dist/client/styles/{b9cb221f563e1ae97305.css → 199207d8c2e1af121651.css} +0 -0
- /package/dist/ssr/styles/{0e016ca4b8686f6e805d.css → cd91cd75ad48ccd0752f.css} +0 -0
|
@@ -35529,6 +35529,16 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35529
35529
|
type: String,
|
|
35530
35530
|
default: "vs-map"
|
|
35531
35531
|
},
|
|
35532
|
+
/**
|
|
35533
|
+
* Rendering Type for the Map.
|
|
35534
|
+
* True = Vector Map, otherwise fallback to Raster
|
|
35535
|
+
* Vector Map enables support (with correct MapID) for advanced features like shading
|
|
35536
|
+
* Raster Maps are available for full compatibility across devices.
|
|
35537
|
+
*/
|
|
35538
|
+
mapTypeVector: {
|
|
35539
|
+
type: Boolean,
|
|
35540
|
+
default: !1
|
|
35541
|
+
},
|
|
35532
35542
|
/**
|
|
35533
35543
|
* Center point of map.
|
|
35534
35544
|
* Defaults to what is considered the center of Scotland
|
|
@@ -35663,8 +35673,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35663
35673
|
lat: t.center.lat,
|
|
35664
35674
|
lng: t.center.lng
|
|
35665
35675
|
},
|
|
35666
|
-
|
|
35667
|
-
renderingType: google.maps.RenderingType.VECTOR,
|
|
35676
|
+
renderingType: t.mapTypeVector ? google.maps.RenderingType.VECTOR : google.maps.RenderingType.RASTER,
|
|
35668
35677
|
zoom: t.zoom,
|
|
35669
35678
|
isFractionalZoomEnabled: !0,
|
|
35670
35679
|
mapId: t.mapId,
|