This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
let map: google.maps.Map; | |
let mapElement: HTMLDivElement; | |
const apiKey = '<your api key here>'; | |
let marker: google.maps.Marker; | |
function initMap() { | |
const start = new google.maps.LatLng(52.5069704,13.2846517); | |
map = new google.maps.Map(mapElement, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { XMLHttpRequest } from "xmlhttprequest"; | |
interface AuthorizationTokenResponse { | |
token_type: string, | |
expires_in: number, | |
scope: string, | |
access_token: string, | |
refresh_token: string, | |
user_id: string, | |
foci: string |