Skip to content

Instantly share code, notes, and snippets.

@TravelTime-Frontend
Created February 21, 2023 08:12
Show Gist options
  • Save TravelTime-Frontend/cc26c4d804d120549c83a9f8d46bfb78 to your computer and use it in GitHub Desktop.
Save TravelTime-Frontend/cc26c4d804d120549c83a9f8d46bfb78 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.3.0/leaflet.css" />
<link rel="stylesheet" href="css.css" />
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"
integrity="sha512-QVftwZFqvtRNi0ZyCtsznlKSWOStnDORoefr1enyq5mVL4tmKB3S/EnC3rRJcxCPavG10IcrVGSmPh6Qw5lwrg=="
crossorigin=""></script>
<title>Geocoding for Leaflet</title>
</head>
<body>
<div id="mapid"></div>
<div id="error" class="">
<p><b>No API and APPLICATION_ID key inserted </b></p>
<p><a target="_blank" href="http://docs.traveltimeplatform.com/overview/getting-keys/">Sign up for an API key</a>
<p>Place it in API and APPLICATION_ID variables</p>
</div>
<script>
// all code will go here
</script>
<style>
// all style will go here
</style>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment