Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>GMaps.js Routes</title>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyDRc9hEV_BnwCBfGlhlmGDJY0fNYf6tBnQ"></script>
  <script type="text/javascript" src="https://rawgit.com/hpneo/gmaps/master/gmaps.js"></script>
  <script type="text/javascript">%code%</script>
</head>
<body>
  <div id="map"></div>
</body>
</html>
 
  /* Always set the map height explicitly to define the size of the div
   * element that contains the map. */
  #map {
    height: 100%;
  }
  /* Optional: Makes the sample page fill the window. */
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
ivdekovpro
0viewers