@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.
@@ -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
- // eslint-disable-next-line no-undef
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,