Skip to content

Instantly share code, notes, and snippets.

@taiju
Created December 9, 2017 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taiju/ba02fd28ccbf22b65f76ceffbe60f90f to your computer and use it in GitHub Desktop.
Save taiju/ba02fd28ccbf22b65f76ceffbe60f90f to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="import" href="./path/to/google-map/google-map.html"><!-- https://www.webcomponents.org/element/GoogleWebComponents/google-map -->
<style>
google-map {
height: 600px;
}
</style>
</head>
<body>
<google-map latitude="36.065219" longitude="136.221642" fit-to-markers api-key="YOUR_API_KEY">
<google-map-marker latitude="36.065219" longitude="136.221642" draggable="true" title="福井県庁"></google-map-marker>
</google-map>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment