Skip to content

Instantly share code, notes, and snippets.

Last active December 17, 2015 13:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save niraj-shah/9fa05657f8f1072fc8bb to your computer and use it in GitHub Desktop.
HTML for Geolocation Example with Interactive Google Maps
<!DOCTYPE html>
<meta name="description" content="Geolocation example with interactive Google Maps" />
<script src=""></script>
<script type="text/javascript" src=""></script>
<meta charset=utf-8 />
<title>Geolocation using Interactive Map</title>
<style type="text/css">
#map-canvas {
height: 400px;
#map-canvas img {
max-width: none;
<div id="wrapper">
<!-- Page heading -->
<!-- Status -->
<p>Finding your location: <span id="status">checking...</span></p>
<!-- Google Maps -->
<div id="map-canvas"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment