File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
samples/weather-api-current-compact Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 44 Copyright 2025 Google LLC. All Rights Reserved.
55 SPDX-License-Identifier: Apache-2.0
66-->
7- <!-- [START maps_weather_api_compact ] -->
7+ <!-- [START maps_weather_api_current_compact ] -->
88< html >
99 < head >
1010 < title > Simple Map</ title >
3030 ( { key : "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" , v : "weekly" } ) ; </ script >
3131 </ body >
3232</ html >
33- <!-- [END maps_weather_api_compact ] -->
33+ <!-- [END maps_weather_api_current_compact ] -->
Original file line number Diff line number Diff line change 11{
2- "name" : " @js-api-samples/weather-api-compact" ,
2+ "name" : " @js-api-samples/weather-api-current- compact" ,
33 "version" : " 1.0.0" ,
44 "scripts" : {
5- "build" : " tsc && bash ../jsfiddle.sh map-simple && bash ../app.sh map-simple && bash ../docs.sh map-simple && npm run build:vite --workspace=. && bash ../dist.sh map-simple " ,
5+ "build" : " tsc && bash ../jsfiddle.sh weather-api-current-compact && bash ../app.sh weather-api-current-compact && bash ../docs.sh weather-api-current-compact && npm run build:vite --workspace=. && bash ../dist.sh weather-api-current-compact " ,
66 "test" : " tsc && npm run build:vite --workspace=." ,
77 "start" : " vite --port 5173" ,
88 "build:vite" : " vite build --base './'" ,
1111 "dependencies" : {
1212
1313 }
14- }
14+ }
Original file line number Diff line number Diff line change 33 * Copyright 2025 Google LLC. All Rights Reserved.
44 * SPDX-License-Identifier: Apache-2.0
55 */
6- /* [START maps_map_simple ] */
6+ /* [START maps_weather_api_current_compact ] */
77/*
88 * Always set the map height explicitly to define the size of the div element
99 * that contains the map.
2222 padding : 0 ;
2323}
2424
25- /* [END maps_map_simple] */
26-
2725/* Styles for the weather widget */
2826.widget-container {
2927 background-color : white; /* Light mode background */
@@ -237,4 +235,5 @@ body {
237235 padding : 6px 10px ; /* Adjust button padding */
238236 font-size : 0.9em ; /* Adjust button font size */
239237 }
240- }
238+ }
239+ /* [END maps_weather_api_current_compact] */
You can’t perform that action at this time.
0 commit comments