()
| 8 | |
| 9 | // Initialize the map |
| 10 | async function initMap() { |
| 11 | const { Map } = await importLibrary("maps"); |
| 12 | |
| 13 | return new Map(document.getElementById("map"), { |
| 14 | center: { lat: 37.7749, lng: -122.4194 }, |
| 15 | zoom: 12, |
| 16 | }); |
| 17 | } |
| 18 | |
| 19 | // Load markers |
| 20 | async function addMarkers(map) { |
no test coverage detected
searching dependent graphs…