diff --git a/dist/samples/add-map/app/.env b/dist/samples/add-map/app/.env deleted file mode 100644 index 092b6910..00000000 --- a/dist/samples/add-map/app/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_MAPS_API_KEY="AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" \ No newline at end of file diff --git a/dist/samples/map-simple/app/.env b/dist/samples/map-simple/app/.env deleted file mode 100644 index 092b6910..00000000 --- a/dist/samples/map-simple/app/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_MAPS_API_KEY="AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" \ No newline at end of file diff --git a/dist/samples/map-simple/jsfiddle/index.html b/dist/samples/map-simple/jsfiddle/index.html index 6b8e2f13..196331ed 100644 --- a/dist/samples/map-simple/jsfiddle/index.html +++ b/dist/samples/map-simple/jsfiddle/index.html @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + Simple Map @@ -30,4 +30,4 @@ ({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"}); - + diff --git a/dist/samples/place-autocomplete-element/app/.env b/dist/samples/place-autocomplete-element/app/.env deleted file mode 100644 index 092b6910..00000000 --- a/dist/samples/place-autocomplete-element/app/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_MAPS_API_KEY="AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" \ No newline at end of file diff --git a/dist/samples/place-autocomplete-element/app/index.ts b/dist/samples/place-autocomplete-element/app/index.ts index 7c91c126..3b7c7865 100644 --- a/dist/samples/place-autocomplete-element/app/index.ts +++ b/dist/samples/place-autocomplete-element/app/index.ts @@ -39,7 +39,7 @@ async function initMap(): Promise { // [START maps_place_autocomplete_element_listener] // Add the gmp-placeselect listener, and display the results. //@ts-ignore - placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction + placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction. await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] }); selectedPlaceTitle.textContent = 'Selected Place:'; @@ -51,4 +51,4 @@ async function initMap(): Promise { initMap(); // [END maps_place_autocomplete_element] -export { }; \ No newline at end of file +export { }; diff --git a/dist/samples/place-autocomplete-element/docs/index.ts b/dist/samples/place-autocomplete-element/docs/index.ts index 7c91c126..3b7c7865 100644 --- a/dist/samples/place-autocomplete-element/docs/index.ts +++ b/dist/samples/place-autocomplete-element/docs/index.ts @@ -39,7 +39,7 @@ async function initMap(): Promise { // [START maps_place_autocomplete_element_listener] // Add the gmp-placeselect listener, and display the results. //@ts-ignore - placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction + placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction. await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] }); selectedPlaceTitle.textContent = 'Selected Place:'; @@ -51,4 +51,4 @@ async function initMap(): Promise { initMap(); // [END maps_place_autocomplete_element] -export { }; \ No newline at end of file +export { }; diff --git a/dist/samples/place-autocomplete-element/jsfiddle/index.html b/dist/samples/place-autocomplete-element/jsfiddle/index.html index 6cf48da7..749b3b7f 100644 --- a/dist/samples/place-autocomplete-element/jsfiddle/index.html +++ b/dist/samples/place-autocomplete-element/jsfiddle/index.html @@ -4,7 +4,7 @@ Copyright 2019 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> - + Place Autocomplete element @@ -20,4 +20,4 @@ ({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta"}); - + diff --git a/dist/samples/place-autocomplete-map/app/.env b/dist/samples/place-autocomplete-map/app/.env deleted file mode 100644 index 092b6910..00000000 --- a/dist/samples/place-autocomplete-map/app/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_MAPS_API_KEY="AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" \ No newline at end of file diff --git a/dist/samples/place-autocomplete-map/app/index.ts b/dist/samples/place-autocomplete-map/app/index.ts index 4609eb23..26d7d4cf 100644 --- a/dist/samples/place-autocomplete-map/app/index.ts +++ b/dist/samples/place-autocomplete-map/app/index.ts @@ -55,7 +55,7 @@ async function initMap(): Promise { // [START maps_place_autocomplete_map_listener] // Add the gmp-placeselect listener, and display the results on the map. //@ts-ignore - placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction + placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction. await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] }); // If the place has a geometry, then present it on a map. @@ -90,4 +90,4 @@ function updateInfoWindow(content, center) { initMap(); // [END maps_place_autocomplete_map] -export { }; \ No newline at end of file +export { }; diff --git a/dist/samples/place-autocomplete-map/docs/index.ts b/dist/samples/place-autocomplete-map/docs/index.ts index 4609eb23..26d7d4cf 100644 --- a/dist/samples/place-autocomplete-map/docs/index.ts +++ b/dist/samples/place-autocomplete-map/docs/index.ts @@ -55,7 +55,7 @@ async function initMap(): Promise { // [START maps_place_autocomplete_map_listener] // Add the gmp-placeselect listener, and display the results on the map. //@ts-ignore - placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction + placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction. await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] }); // If the place has a geometry, then present it on a map. @@ -90,4 +90,4 @@ function updateInfoWindow(content, center) { initMap(); // [END maps_place_autocomplete_map] -export { }; \ No newline at end of file +export { }; diff --git a/dist/samples/place-autocomplete-map/jsfiddle/index.html b/dist/samples/place-autocomplete-map/jsfiddle/index.html index 01bde83e..faeb9c99 100644 --- a/dist/samples/place-autocomplete-map/jsfiddle/index.html +++ b/dist/samples/place-autocomplete-map/jsfiddle/index.html @@ -4,7 +4,7 @@ Copyright 2019 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> - + Place Autocomplete map @@ -23,4 +23,4 @@ ({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta"}); - + diff --git a/dist/samples/place-text-search/app/.env b/dist/samples/place-text-search/app/.env deleted file mode 100644 index 092b6910..00000000 --- a/dist/samples/place-text-search/app/.env +++ /dev/null @@ -1 +0,0 @@ -GOOGLE_MAPS_API_KEY="AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" \ No newline at end of file diff --git a/dist/samples/place-text-search/jsfiddle/index.html b/dist/samples/place-text-search/jsfiddle/index.html index b989c388..76a2a8ba 100644 --- a/dist/samples/place-text-search/jsfiddle/index.html +++ b/dist/samples/place-text-search/jsfiddle/index.html @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + Text Search @@ -30,4 +30,4 @@ ({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"}); - +