From 470f29498fb866aa150b5aebd6a974474c46d289 Mon Sep 17 00:00:00 2001 From: "Chris J. Shull" Date: Tue, 5 May 2026 14:07:16 -0700 Subject: [PATCH] enforce consistency: +
- - - diff --git a/samples/3d-camera-boundary/index.html b/samples/3d-camera-boundary/index.html index eb98b2af5..f84395145 100644 --- a/samples/3d-camera-boundary/index.html +++ b/samples/3d-camera-boundary/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-camera-center/index.html b/samples/3d-camera-center/index.html index cf8755264..d5185bf35 100644 --- a/samples/3d-camera-center/index.html +++ b/samples/3d-camera-center/index.html @@ -11,9 +11,12 @@ - - + diff --git a/samples/3d-camera-to-around/index.html b/samples/3d-camera-to-around/index.html index 6b9b108d5..82ca9d5e9 100644 --- a/samples/3d-camera-to-around/index.html +++ b/samples/3d-camera-to-around/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-clamp-mode/index.html b/samples/3d-clamp-mode/index.html index a6cb8da52..abf9d5efc 100644 --- a/samples/3d-clamp-mode/index.html +++ b/samples/3d-clamp-mode/index.html @@ -11,15 +11,16 @@ +
- - - diff --git a/samples/3d-marker-customization/index.html b/samples/3d-marker-customization/index.html index 861aff096..5a3bbf27e 100644 --- a/samples/3d-marker-customization/index.html +++ b/samples/3d-marker-customization/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-marker-graphics/index.html b/samples/3d-marker-graphics/index.html index 1df30841c..9e74e9377 100644 --- a/samples/3d-marker-graphics/index.html +++ b/samples/3d-marker-graphics/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-marker-interactive/index.html b/samples/3d-marker-interactive/index.html index f20416e89..2f1d7220d 100644 --- a/samples/3d-marker-interactive/index.html +++ b/samples/3d-marker-interactive/index.html @@ -11,6 +11,12 @@ +
@@ -20,11 +26,6 @@ Click on a marker to get the name of the Google Office. - - - diff --git a/samples/3d-mesh-flatten/index.html b/samples/3d-mesh-flatten/index.html index dca447b05..05ca51a28 100644 --- a/samples/3d-mesh-flatten/index.html +++ b/samples/3d-mesh-flatten/index.html @@ -11,6 +11,12 @@ + Disable Flattener - - - diff --git a/samples/3d-model-interactive/index.html b/samples/3d-model-interactive/index.html index cb1e2bfdc..70d9ca97e 100644 --- a/samples/3d-model-interactive/index.html +++ b/samples/3d-model-interactive/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-model/index.html b/samples/3d-model/index.html index 89b679ed0..251fc359a 100644 --- a/samples/3d-model/index.html +++ b/samples/3d-model/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-places-autocomplete/index.html b/samples/3d-places-autocomplete/index.html index 039719260..b17e1fb08 100644 --- a/samples/3d-places-autocomplete/index.html +++ b/samples/3d-places-autocomplete/index.html @@ -11,6 +11,12 @@ +
@@ -19,11 +25,6 @@
Navigate to a place
- - - diff --git a/samples/3d-places/index.html b/samples/3d-places/index.html index e4af30418..1f45b428e 100644 --- a/samples/3d-places/index.html +++ b/samples/3d-places/index.html @@ -11,14 +11,16 @@ +
- -
diff --git a/samples/3d-polygon-click-event/index.html b/samples/3d-polygon-click-event/index.html index d332b059c..78311109d 100644 --- a/samples/3d-polygon-click-event/index.html +++ b/samples/3d-polygon-click-event/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-polygon-extruded-hole/index.html b/samples/3d-polygon-extruded-hole/index.html index 0e1c76748..813b87add 100644 --- a/samples/3d-polygon-extruded-hole/index.html +++ b/samples/3d-polygon-extruded-hole/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-polygon/index.html b/samples/3d-polygon/index.html index 62adc0771..b1a96cffe 100644 --- a/samples/3d-polygon/index.html +++ b/samples/3d-polygon/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-polyline-click-event/index.html b/samples/3d-polyline-click-event/index.html index 519912c8a..38aa48b32 100644 --- a/samples/3d-polyline-click-event/index.html +++ b/samples/3d-polyline-click-event/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-polyline-extruded/index.html b/samples/3d-polyline-extruded/index.html index 6e647bd26..cb45394d1 100644 --- a/samples/3d-polyline-extruded/index.html +++ b/samples/3d-polyline-extruded/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-polyline/index.html b/samples/3d-polyline/index.html index be03670ef..543d55f95 100644 --- a/samples/3d-polyline/index.html +++ b/samples/3d-polyline/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-popover-location/index.html b/samples/3d-popover-location/index.html index c1091944b..e7e8c1552 100644 --- a/samples/3d-popover-location/index.html +++ b/samples/3d-popover-location/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-popover-marker/index.html b/samples/3d-popover-marker/index.html index fa6e86c7a..b8b4a7196 100644 --- a/samples/3d-popover-marker/index.html +++ b/samples/3d-popover-marker/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/3d-simple-map/index.html b/samples/3d-simple-map/index.html index d36c4eda7..10a78c795 100644 --- a/samples/3d-simple-map/index.html +++ b/samples/3d-simple-map/index.html @@ -11,12 +11,13 @@ - - - - - + + diff --git a/samples/3d-simple-marker/index.html b/samples/3d-simple-marker/index.html index eb3f2f5b0..58b10d073 100644 --- a/samples/3d-simple-marker/index.html +++ b/samples/3d-simple-marker/index.html @@ -11,14 +11,15 @@ +
- - - diff --git a/samples/add-map/index.html b/samples/add-map/index.html index b830280ca..e404f3437 100644 --- a/samples/add-map/index.html +++ b/samples/add-map/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/address-validation/index.html b/samples/address-validation/index.html index 5bebf10d2..6b84f270e 100644 --- a/samples/address-validation/index.html +++ b/samples/address-validation/index.html @@ -11,6 +11,12 @@ + @@ -172,10 +178,6 @@

Address Validation

- - diff --git a/samples/advanced-markers-accessibility/index.html b/samples/advanced-markers-accessibility/index.html index 12158ee67..2bc919478 100644 --- a/samples/advanced-markers-accessibility/index.html +++ b/samples/advanced-markers-accessibility/index.html @@ -12,9 +12,11 @@ - - diff --git a/samples/advanced-markers-altitude/index.html b/samples/advanced-markers-altitude/index.html index 7ba7e64be..98f15f194 100644 --- a/samples/advanced-markers-altitude/index.html +++ b/samples/advanced-markers-altitude/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/advanced-markers-animation/index.html b/samples/advanced-markers-animation/index.html index 4bd97c541..38150f9f9 100644 --- a/samples/advanced-markers-animation/index.html +++ b/samples/advanced-markers-animation/index.html @@ -11,16 +11,17 @@ +
- - - diff --git a/samples/advanced-markers-basic-style/index.html b/samples/advanced-markers-basic-style/index.html index 5c4ff9c3b..77c3be1d1 100644 --- a/samples/advanced-markers-basic-style/index.html +++ b/samples/advanced-markers-basic-style/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/advanced-markers-collision/index.html b/samples/advanced-markers-collision/index.html index 0392cb9e4..ae1b15884 100644 --- a/samples/advanced-markers-collision/index.html +++ b/samples/advanced-markers-collision/index.html @@ -19,9 +19,11 @@ - - diff --git a/samples/advanced-markers-draggable/index.html b/samples/advanced-markers-draggable/index.html index 256fc76eb..078611f64 100644 --- a/samples/advanced-markers-draggable/index.html +++ b/samples/advanced-markers-draggable/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/advanced-markers-graphics/index.html b/samples/advanced-markers-graphics/index.html index 11e51e214..c8b0a16c3 100644 --- a/samples/advanced-markers-graphics/index.html +++ b/samples/advanced-markers-graphics/index.html @@ -10,9 +10,11 @@ Advanced Markers Using Graphics - - diff --git a/samples/advanced-markers-html-simple/index.html b/samples/advanced-markers-html-simple/index.html index 8393c8bc3..1b104c75e 100644 --- a/samples/advanced-markers-html-simple/index.html +++ b/samples/advanced-markers-html-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/advanced-markers-html/index.html b/samples/advanced-markers-html/index.html index 58b7bdd48..c45f8e37e 100644 --- a/samples/advanced-markers-html/index.html +++ b/samples/advanced-markers-html/index.html @@ -13,14 +13,15 @@ +
- - - diff --git a/samples/advanced-markers-simple/index.html b/samples/advanced-markers-simple/index.html index 6c6eea9c7..2eb922c9e 100644 --- a/samples/advanced-markers-simple/index.html +++ b/samples/advanced-markers-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/advanced-markers-zoom/index.html b/samples/advanced-markers-zoom/index.html index 0bdba0eb7..cfd4b2c85 100644 --- a/samples/advanced-markers-zoom/index.html +++ b/samples/advanced-markers-zoom/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/ai-powered-summaries-basic/index.html b/samples/ai-powered-summaries-basic/index.html index f7656c3a0..0cb1bbbb8 100644 --- a/samples/ai-powered-summaries-basic/index.html +++ b/samples/ai-powered-summaries-basic/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/ai-powered-summaries/index.html b/samples/ai-powered-summaries/index.html index ec1dc2c63..ce27d6bb8 100644 --- a/samples/ai-powered-summaries/index.html +++ b/samples/ai-powered-summaries/index.html @@ -10,9 +10,11 @@ AI Place Summaries - - diff --git a/samples/boundaries-choropleth/index.html b/samples/boundaries-choropleth/index.html index 0971527d3..428b81d77 100644 --- a/samples/boundaries-choropleth/index.html +++ b/samples/boundaries-choropleth/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/boundaries-click/index.html b/samples/boundaries-click/index.html index 13626c161..d2af3aaf6 100644 --- a/samples/boundaries-click/index.html +++ b/samples/boundaries-click/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/boundaries-simple/index.html b/samples/boundaries-simple/index.html index 26ce74ef3..301e7d4a6 100644 --- a/samples/boundaries-simple/index.html +++ b/samples/boundaries-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/boundaries-text-search/index.html b/samples/boundaries-text-search/index.html index dcf64d4f6..91dfd85a2 100644 --- a/samples/boundaries-text-search/index.html +++ b/samples/boundaries-text-search/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/build-single.sh b/samples/build-single.sh index 3935b77d9..1c28ec87d 100644 --- a/samples/build-single.sh +++ b/samples/build-single.sh @@ -5,9 +5,12 @@ set -e NAME=$(basename $PWD) -common_recursive_grep_options=( -r --exclude-dir=node_modules ) -all_type_recursive_grep_options=( "${common_recursive_grep_options[@]}" --include=*.{html,js,ts,css,jsx,tsx} --exclude-dir=dist ) -html_script_src_grep_options=( 'src="https://maps' "${common_recursive_grep_options[@]}" --include=*.html ) +# start with some rudimentary checks for best practices... + +common_recursive_grep_options=( -r --exclude-dir=node_modules --exclude-dir=dist ) +all_type_recursive_grep_options=( "${common_recursive_grep_options[@]}" --include=*.{html,js,ts,css,jsx,tsx} ) +html_recursive_grep_options=( "${common_recursive_grep_options[@]}" --include=*.html ) +html_script_src_grep_options=( 'src="https://maps' "${html_recursive_grep_options[@]}" ) find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "./dist/*" -not -path "./node_modules/*" -print0 \ | while IFS= read -r -d '' file; do @@ -27,8 +30,61 @@ find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "./dist/*" -not -p done < "$file" done +find . -type f -name "*.html" -not -path "./dist/*" -not -path "./node_modules/*" -print0 \ + | while IFS= read -r -d '' file; do + body_started=false + while IFS= read -r line; do + # echo "$file $body_started $line" + if [[ "$line" == *"' in . Move to . $file" + exit 1 + fi + done < "$file" +done + set +e +grep "" "${html_recursive_grep_options[@]}" +if [[ $? -eq 0 ]]; then + echo "Don't use '' in HTML files. For the inline loader, use a '// prettier-ignore' comment inside the - - diff --git a/samples/control-bounds-restriction/index.html b/samples/control-bounds-restriction/index.html index e8ec72b11..a1b985053 100644 --- a/samples/control-bounds-restriction/index.html +++ b/samples/control-bounds-restriction/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-custom-state/index.html b/samples/control-custom-state/index.html index 113d6acd8..33b55e1c8 100644 --- a/samples/control-custom-state/index.html +++ b/samples/control-custom-state/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-disableUI/index.html b/samples/control-disableUI/index.html index d71a59b05..9a51f3dd9 100644 --- a/samples/control-disableUI/index.html +++ b/samples/control-disableUI/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-options/index.html b/samples/control-options/index.html index 19eeddc96..0a6a1fce6 100644 --- a/samples/control-options/index.html +++ b/samples/control-options/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-positioning-labels/index.html b/samples/control-positioning-labels/index.html index b62178331..df02076c8 100644 --- a/samples/control-positioning-labels/index.html +++ b/samples/control-positioning-labels/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-positioning/index.html b/samples/control-positioning/index.html index 7b2d67d3b..0c958e15f 100644 --- a/samples/control-positioning/index.html +++ b/samples/control-positioning/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/control-replacement/index.html b/samples/control-replacement/index.html index 676552480..27f05851d 100644 --- a/samples/control-replacement/index.html +++ b/samples/control-replacement/index.html @@ -14,9 +14,11 @@ - - diff --git a/samples/control-simple/index.html b/samples/control-simple/index.html index bd7dad76b..a53421d67 100644 --- a/samples/control-simple/index.html +++ b/samples/control-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-datasets-point/index.html b/samples/dds-datasets-point/index.html index fc8c58468..86307be6f 100644 --- a/samples/dds-datasets-point/index.html +++ b/samples/dds-datasets-point/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-datasets-polygon-click/index.html b/samples/dds-datasets-polygon-click/index.html index b744f0f24..cd2a90c59 100644 --- a/samples/dds-datasets-polygon-click/index.html +++ b/samples/dds-datasets-polygon-click/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-datasets-polygon-colors/index.html b/samples/dds-datasets-polygon-colors/index.html index d5b084eb8..7265da86b 100644 --- a/samples/dds-datasets-polygon-colors/index.html +++ b/samples/dds-datasets-polygon-colors/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-datasets-polygon/index.html b/samples/dds-datasets-polygon/index.html index cacfe4756..df972c7ae 100644 --- a/samples/dds-datasets-polygon/index.html +++ b/samples/dds-datasets-polygon/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-datasets-polyline/index.html b/samples/dds-datasets-polyline/index.html index e92bf9f68..d3c8ec296 100644 --- a/samples/dds-datasets-polyline/index.html +++ b/samples/dds-datasets-polyline/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/dds-region-viewer/index.html b/samples/dds-region-viewer/index.html index e268565d1..36da5a972 100644 --- a/samples/dds-region-viewer/index.html +++ b/samples/dds-region-viewer/index.html @@ -11,9 +11,12 @@ - - + - - diff --git a/samples/deckgl-heatmap/index.html b/samples/deckgl-heatmap/index.html index 1deefc4aa..850bcf101 100644 --- a/samples/deckgl-heatmap/index.html +++ b/samples/deckgl-heatmap/index.html @@ -20,7 +20,13 @@ - + +
-

Bike Parking Heatmap

@@ -67,11 +62,6 @@

Bike Parking Spaces

- - - diff --git a/samples/deckgl-kml-updated/index.html b/samples/deckgl-kml-updated/index.html index d5b5fdf89..937a70627 100644 --- a/samples/deckgl-kml-updated/index.html +++ b/samples/deckgl-kml-updated/index.html @@ -20,7 +20,13 @@ - + +
-

Deck.gl KMLLoader

@@ -64,11 +59,6 @@

- - - diff --git a/samples/deckgl-kml/index.html b/samples/deckgl-kml/index.html index f419dd5bd..ea0654551 100644 --- a/samples/deckgl-kml/index.html +++ b/samples/deckgl-kml/index.html @@ -20,7 +20,13 @@ - + +
-

Deck.gl KMLLoader

- - - diff --git a/samples/deckgl-points/index.html b/samples/deckgl-points/index.html index 9e05b6543..16cd3d19e 100644 --- a/samples/deckgl-points/index.html +++ b/samples/deckgl-points/index.html @@ -10,9 +10,11 @@ deck.gl and Google Maps Platform - - diff --git a/samples/deckgl-polygon/index.html b/samples/deckgl-polygon/index.html index 2b4d0187e..21f1021e1 100644 --- a/samples/deckgl-polygon/index.html +++ b/samples/deckgl-polygon/index.html @@ -20,6 +20,12 @@ +
-

Population Density

@@ -74,11 +69,6 @@

Population Density

- - - diff --git a/samples/deckgl-tripslayer/index.html b/samples/deckgl-tripslayer/index.html index 1c63dabab..761af5bb8 100644 --- a/samples/deckgl-tripslayer/index.html +++ b/samples/deckgl-tripslayer/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/event-arguments/index.html b/samples/event-arguments/index.html index 37fbaf0e9..ce1640f1c 100644 --- a/samples/event-arguments/index.html +++ b/samples/event-arguments/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/event-click-latlng/index.html b/samples/event-click-latlng/index.html index 901c88f95..419d3510a 100644 --- a/samples/event-click-latlng/index.html +++ b/samples/event-click-latlng/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/event-closure/index.html b/samples/event-closure/index.html index cdbead543..542b62119 100644 --- a/samples/event-closure/index.html +++ b/samples/event-closure/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/event-poi/index.html b/samples/event-poi/index.html index 1a2118421..f2e13944a 100644 --- a/samples/event-poi/index.html +++ b/samples/event-poi/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/event-properties/index.html b/samples/event-properties/index.html index 50bd87da9..213df2c1d 100644 --- a/samples/event-properties/index.html +++ b/samples/event-properties/index.html @@ -11,9 +11,12 @@ - - + diff --git a/samples/event-simple/index.html b/samples/event-simple/index.html index 643cd2ad9..6f8e97cf9 100644 --- a/samples/event-simple/index.html +++ b/samples/event-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/geocoding-component-restriction/index.html b/samples/geocoding-component-restriction/index.html index 83a2c1e93..f2bfb4021 100644 --- a/samples/geocoding-component-restriction/index.html +++ b/samples/geocoding-component-restriction/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/geocoding-place-id/index.html b/samples/geocoding-place-id/index.html index 9b9fd8028..7b66266e7 100644 --- a/samples/geocoding-place-id/index.html +++ b/samples/geocoding-place-id/index.html @@ -11,6 +11,12 @@ + @@ -26,10 +32,6 @@ value="Get Address for Place ID" /> - - - diff --git a/samples/geocoding-region-es/index.html b/samples/geocoding-region-es/index.html index 2863cdfbc..e096473ba 100644 --- a/samples/geocoding-region-es/index.html +++ b/samples/geocoding-region-es/index.html @@ -11,9 +11,13 @@ - - + diff --git a/samples/geocoding-region-us/index.html b/samples/geocoding-region-us/index.html index fc95c40ce..816bfdd90 100644 --- a/samples/geocoding-region-us/index.html +++ b/samples/geocoding-region-us/index.html @@ -11,9 +11,13 @@ - - + diff --git a/samples/geocoding-reverse/index.html b/samples/geocoding-reverse/index.html index 8a1dc8666..043b7afa3 100644 --- a/samples/geocoding-reverse/index.html +++ b/samples/geocoding-reverse/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/geocoding-simple/index.html b/samples/geocoding-simple/index.html index 3c7b7cc48..bf88c526a 100644 --- a/samples/geocoding-simple/index.html +++ b/samples/geocoding-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/hiding-features/index.html b/samples/hiding-features/index.html index 4778aa061..630abb2e3 100644 --- a/samples/hiding-features/index.html +++ b/samples/hiding-features/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/infowindow-simple/index.html b/samples/infowindow-simple/index.html index a10f736eb..8beaa0766 100644 --- a/samples/infowindow-simple/index.html +++ b/samples/infowindow-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/layer-data-event/index.html b/samples/layer-data-event/index.html index 22da14a05..924cdf99c 100644 --- a/samples/layer-data-event/index.html +++ b/samples/layer-data-event/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/layer-data-quakes-red/index.html b/samples/layer-data-quakes-red/index.html index 786db559b..7f2240b5a 100644 --- a/samples/layer-data-quakes-red/index.html +++ b/samples/layer-data-quakes-red/index.html @@ -12,9 +12,11 @@ - - diff --git a/samples/layer-data-quakes-simple/index.html b/samples/layer-data-quakes-simple/index.html index a1e2fa51b..26d01c86f 100644 --- a/samples/layer-data-quakes-simple/index.html +++ b/samples/layer-data-quakes-simple/index.html @@ -12,9 +12,11 @@ - - diff --git a/samples/layer-data-simple/index.html b/samples/layer-data-simple/index.html index b177ed98f..943849540 100644 --- a/samples/layer-data-simple/index.html +++ b/samples/layer-data-simple/index.html @@ -11,15 +11,16 @@ + - - - diff --git a/samples/layer-data-style/index.html b/samples/layer-data-style/index.html index edaeb1ad6..943cf9b70 100644 --- a/samples/layer-data-style/index.html +++ b/samples/layer-data-style/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/map-events/index.html b/samples/map-events/index.html index a33d88506..da8a129bc 100644 --- a/samples/map-events/index.html +++ b/samples/map-events/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/map-projection-simple/index.html b/samples/map-projection-simple/index.html index 47f147594..a2cc852c7 100644 --- a/samples/map-projection-simple/index.html +++ b/samples/map-projection-simple/index.html @@ -11,9 +11,12 @@ - - + diff --git a/samples/map-simple-js/index.html b/samples/map-simple-js/index.html index e49a46bf8..3206d77a4 100644 --- a/samples/map-simple-js/index.html +++ b/samples/map-simple-js/index.html @@ -18,9 +18,12 @@ - - + diff --git a/samples/map-simple/index.html b/samples/map-simple/index.html index 17c7e0dc6..171112a1c 100644 --- a/samples/map-simple/index.html +++ b/samples/map-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/new-sample.sh b/samples/new-sample.sh index ca21c7728..cb89e282b 100755 --- a/samples/new-sample.sh +++ b/samples/new-sample.sh @@ -48,8 +48,11 @@ EOF # Use 'EOF' to prevent expansion of the loader script cat >> "$NAME/index.html" << 'EOF' - EOF diff --git a/samples/place-autocomplete-basic-map/index.html b/samples/place-autocomplete-basic-map/index.html index e99c92012..9b022a9c6 100644 --- a/samples/place-autocomplete-basic-map/index.html +++ b/samples/place-autocomplete-basic-map/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-autocomplete-data-session/index.html b/samples/place-autocomplete-data-session/index.html index bf87c562d..7925d662a 100644 --- a/samples/place-autocomplete-data-session/index.html +++ b/samples/place-autocomplete-data-session/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-autocomplete-data-simple/index.html b/samples/place-autocomplete-data-simple/index.html index 841efba7e..d0c5db8d4 100644 --- a/samples/place-autocomplete-data-simple/index.html +++ b/samples/place-autocomplete-data-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-autocomplete-element/index.html b/samples/place-autocomplete-element/index.html index 8b97846b8..5836b1746 100644 --- a/samples/place-autocomplete-element/index.html +++ b/samples/place-autocomplete-element/index.html @@ -11,14 +11,15 @@ +

Search for a place here:

- - - diff --git a/samples/place-autocomplete-map/index.html b/samples/place-autocomplete-map/index.html index 4ae8f94d2..714460150 100644 --- a/samples/place-autocomplete-map/index.html +++ b/samples/place-autocomplete-map/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-class/index.html b/samples/place-class/index.html index 39a344854..d09423e3c 100644 --- a/samples/place-class/index.html +++ b/samples/place-class/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-nearby-search/index.html b/samples/place-nearby-search/index.html index 7fff56a4f..9efe25799 100644 --- a/samples/place-nearby-search/index.html +++ b/samples/place-nearby-search/index.html @@ -11,9 +11,12 @@ - - + diff --git a/samples/place-photos/index.html b/samples/place-photos/index.html index f6d3d475c..2fe6cef42 100644 --- a/samples/place-photos/index.html +++ b/samples/place-photos/index.html @@ -11,9 +11,12 @@ - - +
diff --git a/samples/place-reviews/index.html b/samples/place-reviews/index.html index 3b4d0ba20..775a29f4e 100644 --- a/samples/place-reviews/index.html +++ b/samples/place-reviews/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/place-text-search/index.html b/samples/place-text-search/index.html index b7a12365d..0b2530b4b 100644 --- a/samples/place-text-search/index.html +++ b/samples/place-text-search/index.html @@ -11,6 +11,12 @@ +
@@ -21,11 +27,6 @@
- - - diff --git a/samples/places-autocomplete-addressform/index.html b/samples/places-autocomplete-addressform/index.html index f181b05ab..5f65bdf7d 100644 --- a/samples/places-autocomplete-addressform/index.html +++ b/samples/places-autocomplete-addressform/index.html @@ -15,9 +15,11 @@ - - diff --git a/samples/places-placeid-finder/index.html b/samples/places-placeid-finder/index.html index 0335e5c66..8cc50f211 100644 --- a/samples/places-placeid-finder/index.html +++ b/samples/places-placeid-finder/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/polyline-complex/index.html b/samples/polyline-complex/index.html index 4e66618c2..c54fc579d 100644 --- a/samples/polyline-complex/index.html +++ b/samples/polyline-complex/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/polyline-remove/index.html b/samples/polyline-remove/index.html index b312453dc..dace93ece 100644 --- a/samples/polyline-remove/index.html +++ b/samples/polyline-remove/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/polyline-simple/index.html b/samples/polyline-simple/index.html index 61c69bc40..c79ed17ab 100644 --- a/samples/polyline-simple/index.html +++ b/samples/polyline-simple/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/react-ui-kit-place-details-compact/index.html b/samples/react-ui-kit-place-details-compact/index.html index b0cb5893b..35c7ad1f3 100644 --- a/samples/react-ui-kit-place-details-compact/index.html +++ b/samples/react-ui-kit-place-details-compact/index.html @@ -24,14 +24,14 @@ height: 100vh; } - - -
+ + +
diff --git a/samples/react-ui-kit-place-details-latlng-compact/index.html b/samples/react-ui-kit-place-details-latlng-compact/index.html index c4a8c3253..a9a9dc052 100644 --- a/samples/react-ui-kit-place-details-latlng-compact/index.html +++ b/samples/react-ui-kit-place-details-latlng-compact/index.html @@ -26,14 +26,14 @@ height: 100vh; } - - -
+ + +
diff --git a/samples/react-ui-kit-place-details-latlng/index.html b/samples/react-ui-kit-place-details-latlng/index.html index b82b2ec4d..4b5fd369c 100644 --- a/samples/react-ui-kit-place-details-latlng/index.html +++ b/samples/react-ui-kit-place-details-latlng/index.html @@ -24,14 +24,14 @@ height: 100vh; } - - -
+ + +
diff --git a/samples/react-ui-kit-place-details/index.html b/samples/react-ui-kit-place-details/index.html index f30c52403..945833daa 100644 --- a/samples/react-ui-kit-place-details/index.html +++ b/samples/react-ui-kit-place-details/index.html @@ -24,14 +24,14 @@ height: 100vh; } - - -
+ + +
diff --git a/samples/react-ui-kit-search-nearby/index.html b/samples/react-ui-kit-search-nearby/index.html index efc79ec47..954b941e4 100644 --- a/samples/react-ui-kit-search-nearby/index.html +++ b/samples/react-ui-kit-search-nearby/index.html @@ -8,9 +8,9 @@ React - Places UI Kit Search Nearby +
- diff --git a/samples/react-ui-kit-search-text/index.html b/samples/react-ui-kit-search-text/index.html index 0a9955f20..dbf351530 100644 --- a/samples/react-ui-kit-search-text/index.html +++ b/samples/react-ui-kit-search-text/index.html @@ -13,9 +13,9 @@ React - Places UI Kit Search Text +
- diff --git a/samples/rectangle-event/index.html b/samples/rectangle-event/index.html index 36030e2bf..02dff507d 100644 --- a/samples/rectangle-event/index.html +++ b/samples/rectangle-event/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/routes-compute-routes/index.html b/samples/routes-compute-routes/index.html index 4695b137f..6dbde0680 100644 --- a/samples/routes-compute-routes/index.html +++ b/samples/routes-compute-routes/index.html @@ -11,6 +11,12 @@ + @@ -537,9 +543,6 @@

Fields

map-id="DEMO_MAP_ID">
- - diff --git a/samples/routes-get-alternatives/index.html b/samples/routes-get-alternatives/index.html index aca22ec7e..08b5484f8 100644 --- a/samples/routes-get-alternatives/index.html +++ b/samples/routes-get-alternatives/index.html @@ -11,13 +11,15 @@ + - - diff --git a/samples/routes-get-directions-panel/index.html b/samples/routes-get-directions-panel/index.html index a0739e55d..ffe9362d6 100644 --- a/samples/routes-get-directions-panel/index.html +++ b/samples/routes-get-directions-panel/index.html @@ -11,6 +11,12 @@ + @@ -24,9 +30,6 @@ - - diff --git a/samples/routes-get-directions/index.html b/samples/routes-get-directions/index.html index c9d4c536d..249fa1ba9 100644 --- a/samples/routes-get-directions/index.html +++ b/samples/routes-get-directions/index.html @@ -11,13 +11,15 @@ +
- - diff --git a/samples/routes-markers/index.html b/samples/routes-markers/index.html index bb1663239..7b2377fb7 100644 --- a/samples/routes-markers/index.html +++ b/samples/routes-markers/index.html @@ -11,13 +11,15 @@ + - - diff --git a/samples/routes-route-matrix/index.html b/samples/routes-route-matrix/index.html index 5e9ba4899..5955ddc5a 100644 --- a/samples/routes-route-matrix/index.html +++ b/samples/routes-route-matrix/index.html @@ -11,6 +11,12 @@ +
@@ -22,10 +28,6 @@

Response


             
- - diff --git a/samples/streetview-overlays/index.html b/samples/streetview-overlays/index.html index 19be0bbb6..7e6d2d520 100644 --- a/samples/streetview-overlays/index.html +++ b/samples/streetview-overlays/index.html @@ -11,9 +11,11 @@ - - diff --git a/samples/test-example/index.html b/samples/test-example/index.html index 649fd9d1c..311f85713 100644 --- a/samples/test-example/index.html +++ b/samples/test-example/index.html @@ -13,9 +13,11 @@ - - diff --git a/samples/ui-kit-place-details-compact/index.html b/samples/ui-kit-place-details-compact/index.html index 4c164bd8d..e6ddda001 100644 --- a/samples/ui-kit-place-details-compact/index.html +++ b/samples/ui-kit-place-details-compact/index.html @@ -10,10 +10,12 @@ Place Details Compact with Google Maps - - - + diff --git a/samples/ui-kit-place-details/index.html b/samples/ui-kit-place-details/index.html index dc274b9d3..983179af2 100644 --- a/samples/ui-kit-place-details/index.html +++ b/samples/ui-kit-place-details/index.html @@ -10,10 +10,12 @@ Place Details with Google Maps - - - + diff --git a/samples/ui-kit-place-search-nearby/index.html b/samples/ui-kit-place-search-nearby/index.html index bf9fea395..016ebe58a 100644 --- a/samples/ui-kit-place-search-nearby/index.html +++ b/samples/ui-kit-place-search-nearby/index.html @@ -10,12 +10,13 @@ Place Search Nearby with Google Maps - - + + // prettier-ignore + (g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({ + key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" + }); + diff --git a/samples/ui-kit-place-search-text/index.html b/samples/ui-kit-place-search-text/index.html index 5fea48d00..605b60f07 100644 --- a/samples/ui-kit-place-search-text/index.html +++ b/samples/ui-kit-place-search-text/index.html @@ -10,10 +10,12 @@ Place Text Search with Google Maps - - - + diff --git a/samples/weather-api-current-compact/index.html b/samples/weather-api-current-compact/index.html index 34dc0d07f..9ec60a670 100644 --- a/samples/weather-api-current-compact/index.html +++ b/samples/weather-api-current-compact/index.html @@ -12,6 +12,12 @@ +
@@ -23,11 +29,6 @@
- - - diff --git a/samples/web-components-events/index.html b/samples/web-components-events/index.html index 4c0338c0b..ed1bbe845 100644 --- a/samples/web-components-events/index.html +++ b/samples/web-components-events/index.html @@ -11,6 +11,12 @@ + - - -