Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samples/datasets-api/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="od-container">
<span>Dataset</span>
<select id="dataset">
<option value="07908ffb-14e8-46a1-a35e-5d5a305ca140">US National Risk Index</option>
<option value="bd95d206-4822-4b78-9e82-ab724a888aeb">Worldwide Solar Potential</option>
<option selected value="fd2732a6-714d-4894-98ef-c0c7744a399c">US - Seismic Hazard Map</option>
<option value="c3262b13-4884-4761-bec4-dac28abf7137">US National Risk Index</option>
<option value="223a1c86-39bc-4979-a53e-afef9b8d20fd">Worldwide Solar Potential</option>
<option selected value="a01df3d6-fe7d-42df-8fee-9f31726a2641">US - Seismic Hazard Map</option>
</select>
</div>
<div class="od-container">
Expand Down
3 changes: 2 additions & 1 deletion samples/datasets-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let debouncedLocalitiesAutocomplete: (...args: any[]) => Promise<any>;
let results: HTMLOListElement;
let resetButton: HTMLButtonElement;

const datasetId = "fd2732a6-714d-4894-98ef-c0c7744a399c"; //US - Seismic Hazard Map
const datasetId = "a01df3d6-fe7d-42df-8fee-9f31726a2641"; //US - Seismic Hazard Map

function initMap(): void {
// [START woosmap_datasets_api_instantiate_map]
Expand Down Expand Up @@ -224,6 +224,7 @@ async function updateDataset(datasetId: string) {
await intersectCb(collection);
}
async function intersectCb(ev) {
if (!ev?.features?.[0]?.geometry) return;
async function applyOperator(geometry, operator) {
let response;

Expand Down
2 changes: 1 addition & 1 deletion samples/env.11ty.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},

render({ sample }) {
let output = `VITE_WOOSMAP_PUBLIC_API_KEY=${sample.data.WOOSMAP_PUBLIC_API_KEY ? sample.data.WOOSMAP_PUBLIC_API_KEY : "woos-48c80350-88aa-333e-835a-07f4b658a9a4"}`;
let output = `VITE_WOOSMAP_PUBLIC_API_KEY=${sample.data.WOOSMAP_PUBLIC_API_KEY ? sample.data.WOOSMAP_PUBLIC_API_KEY : "woos-e1e5490b-19d1-34f8-9955-fd5cfc8c880f"}`;
if (sample.data.GOOGLE_API_KEY) {
output += `\nVITE_GOOGLE_API_KEY=${sample.data.GOOGLE_API_KEY}`;
}
Expand Down
2 changes: 1 addition & 1 deletion samples/localities-api-autocomplete/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function autocompleteAddress(
const args = {
key: woosmap_key,
input,
types: "locality|postal_code",
types: "locality|postal_code|address",
};

if (components !== "") {
Expand Down
2 changes: 1 addition & 1 deletion samples/localities-nearby-poi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function initMap() {

autocompleteRequest = {
input: "",
types: ["locality", "postal_code"],
types: ["locality", "postal_code", "address"],
};
nearbyRequest = {
types: "point_of_interest",
Expand Down
2 changes: 1 addition & 1 deletion samples/map-clustering-stores/map-clustering-stores.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "This sample illustrates the usage of map clustering with Stores Search API",
"category": "Markers",
"callback": "initMap",
"WOOSMAP_PUBLIC_API_KEY": "woos-3cad58f4-0d94-3f95-8fa3-1f0dc035591c",
"WOOSMAP_PUBLIC_API_KEY": "woos-6a6b502e-5f28-3280-923f-b82ea0042a3a",
"tag": "map_clustering_stores",
"name": "map-clustering-stores",
"pagination": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"title": "MultiSearch Map Advanced",
"description": "This example shows how to use the MultiSearch JS API and Map JS API to create a simple map with a search box. Parameters allows to limit the search to a specific country and to always search in stores attributes",
"category": "Localities",
"WOOSMAP_PUBLIC_API_KEY": "woos-c562b391-2e0d-33f5-80c6-0cfd1e5bea09",
"GOOGLE_API_KEY": "AIzaSyAAFBEYl6VnHSyllckphcRWzJlomsoXosA",
"tag": "multisearch_map_advanced",
"name": "multisearch-map-advanced",
Expand Down
2 changes: 1 addition & 1 deletion samples/samples.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const _ = require("lodash");
const data = {
..._.pick(
{
WOOSMAP_PUBLIC_API_KEY: "woos-48c80350-88aa-333e-835a-07f4b658a9a4",
WOOSMAP_PUBLIC_API_KEY: "woos-e1e5490b-19d1-34f8-9955-fd5cfc8c880f",
...process.env,
},
["WOOSMAP_PUBLIC_API_KEY"],
Expand Down
36 changes: 18 additions & 18 deletions samples/store-locator-widget-enforce-accessibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const storeLocatorConfig = {
{
type: "bose_store",
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default.svg",
url: "https://images.woosmap.com/icons/bose_icons/default.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -276,7 +276,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -287,7 +287,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default.svg",
url: "https://images.woosmap.com/icons/bose_icons/default.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -301,7 +301,7 @@ const storeLocatorConfig = {
{
type: "bose_reseller",
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_reseller.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_reseller.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -312,7 +312,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -323,7 +323,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_reseller.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_reseller.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -337,7 +337,7 @@ const storeLocatorConfig = {
{
type: "professional_systems",
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_professional.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_professional.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -348,7 +348,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -359,7 +359,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_professional.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_professional.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -373,7 +373,7 @@ const storeLocatorConfig = {
{
type: "bose_excellence_centre",
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_excellence.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_excellence.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -384,7 +384,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -395,7 +395,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_excellence.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_excellence.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -409,7 +409,7 @@ const storeLocatorConfig = {
{
type: "bose_factory_store",
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_factory.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_factory.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -420,7 +420,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -431,7 +431,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default_factory.svg",
url: "https://images.woosmap.com/icons/bose_icons/default_factory.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -445,7 +445,7 @@ const storeLocatorConfig = {
],
default: {
icon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default.svg",
url: "https://images.woosmap.com/icons/bose_icons/default.svg",
scaledSize: {
width: 24,
height: 24,
Expand All @@ -456,7 +456,7 @@ const storeLocatorConfig = {
},
},
selectedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/selected.svg",
url: "https://images.woosmap.com/icons/bose_icons/selected.svg",
scaledSize: {
width: 32,
height: 32,
Expand All @@ -467,7 +467,7 @@ const storeLocatorConfig = {
},
},
numberedIcon: {
url: "https://webapp-conf.woosmap.com/woos-0c78592f-13ea-362b-aa07-ba4ba9ea3dae/default.svg",
url: "https://images.woosmap.com/icons/bose_icons/default.svg",
scaledSize: {
width: 32,
height: 32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Store Locator Widget - Enforce Accessibility",
"description": "Woosmap Store Locator Widget displaying Bose stores all over the world. Enforcing accessibility features for better usability.",
"category": "Store Locator Widget",
"WOOSMAP_PUBLIC_API_KEY": "woos-c562b391-2e0d-33f5-80c6-0cfd1e5bea09",
"WOOSMAP_PUBLIC_API_KEY": "woos-88403c6e-a493-337d-a620-7716f7aa6008",
"tag": "store_locator_widget_enforce_accessibility",
"name": "store-locator-widget-enforce-accessibility",
"pagination": {
Expand Down
Loading
Loading