OpenLayers3を使って地理院地図を表示する方法です。
はじめに、地図を表示するHTMLファイルに以下のタグを追加してください。
<body> <link rel="stylesheet" href="http://openlayers.org/en/v3.5.0/css/ol.css" type="text/css"> <script src="http://openlayers.org/en/v3.5.0/build/ol.js" type="text/javascript"></script> </body>
続いて、実際に地図を表示するためのコードを書いていきます。