@anker-in/ui 0.1.8 → 0.1.9

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.
@@ -333,18 +333,22 @@ var StudioMap = ({
333
333
  validLocations.forEach((location) => {
334
334
  const lat = Number(location.lat);
335
335
  const lng = Number(location.lng);
336
+ const svgIcon = {
337
+ url: `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(`
338
+ <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
339
+ <circle cx="24" cy="24" r="22" fill="#00000010"/>
340
+ <circle cx="24" cy="24" r="10" fill="#000000"/>
341
+ <circle cx="24" cy="24" r="5" fill="#3ADB67"/>
342
+ </svg>
343
+ `)}`,
344
+ scaledSize: { width: 48, height: 48 },
345
+ anchor: { x: 24, y: 24 }
346
+ };
336
347
  const marker = new google.maps.Marker({
337
348
  position: { lat, lng },
338
349
  map: googleMapRef.current,
339
350
  title: location.name,
340
- icon: {
341
- path: google.maps.SymbolPath.CIRCLE,
342
- scale: 10,
343
- fillColor: "#000000",
344
- fillOpacity: 1,
345
- strokeColor: "#ffffff",
346
- strokeWeight: 2
347
- }
351
+ icon: svgIcon
348
352
  });
349
353
  marker.addListener("click", () => {
350
354
  setSelectedLocation(location);
@@ -860,6 +864,7 @@ var defaultPageData = {
860
864
  title: "Find a Studio Near You",
861
865
  loadingText: "Loading demo rooms...",
862
866
  errorTitle: "Failed to load demo rooms",
867
+ machine: "eufymake E1",
863
868
  locationFilter: {
864
869
  allLocations: "All Locations",
865
870
  clear: "Clear",
@@ -1130,7 +1135,7 @@ var RoomsList = ({
1130
1135
  }
1131
1136
  ),
1132
1137
  /* @__PURE__ */ jsxs("div", { className: "flex text-[#767880] cursor-not-allowed", children: [
1133
- "eufymake E1",
1138
+ mergedPageData.machine,
1134
1139
  /* @__PURE__ */ jsx(
1135
1140
  "svg",
1136
1141
  {