<prompt> Unda programu ya wavuti ya TypeScript inayotumia API ya Ramani za Google ili kuonyesha ramani inayozingatia eneo la mtumiaji, inaruhusu watumiaji kuweka alama kwenye ramani, na kuhifadhi maeneo ya alama kwenye Hifadhidata ya Wakati Halisi ya Firebase.PLINFORMAT  <response>: chapa firebase-config.tsexport const firebaseConfig apiKey: YOUR_API_KEY, authDomain: YOUR_AUTH_DOMAIN, hifadhidataURL: YOUR_DATABASE_URL, Kitambulisho cha mradi: YOUR_PROJECT_ID, storageBucket: YOUR_STORAGE_BUCKET, messagingSenderId: YOUR_MESSAGING_SENDER_ID, appId: YOUR_APP_ID; kuu.tsagiza firebaseConfig kutoka .firebase-config;import kama firebase kutoka firebaseapp;kuagiza firebasedatabase; Anzisha Firebasefirebase.initializeAppfirebaseConfig;const database firebase.database;ruhusu ramani: google.maps.Map;acha alama: google.maps.Marker ;kazi initMap: utupu ikiwa navigator.geolocation navigator.geolocation.getCurrentPositionnafasi const userLocation latiti: nafasi.coords.latitudo, lng: nafasi.coords.longitudo ; ramani new google.maps.Mapdocument.getElementByIdmap kama HTMLElement, kituo: userLocation, kukuza: 15 ; map.addListenerbonyeza, tukio addMarkerevent.latLng; ; ; nyengine alertGeolocation haihimiliwi na kivinjari hiki.; kazi addMarkereneo: google.maps.LatLng: utupu const marker new google.maps.Marker nafasi: eneo, ramani: ramani ; alama.sukumaalama; Hifadhi alama kwenye Firebase hifadhidata.refalama.shinikiza lat: location.lat, lng: location.lng ;dirisha kama lolote.initMap initMap;html Ramani za Google zilizo na Firebase 