大人になっても僕らはAtomの子供さ
Last active
March 3, 2017 22:28
-
-
Save cieloazul310/7c23233142e6eaac1f7e389e412d3de8 to your computer and use it in GitHub Desktop.
new gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://openlayers.org/en/v4.0.1/css/ol.css" type="text/css"> | |
<style> | |
.map { | |
height: 500px; | |
width: 100%; | |
} | |
</style> | |
<div class="map" id="map"></div> | |
<script src="https://openlayers.org/en/v4.0.1/build/ol.js" type="text/javascript"></script> | |
<script> | |
var map = new ol.Map({ | |
target: "map", | |
layers: [ | |
new ol.layer.Tile({ | |
source: new ol.source.OSM() | |
}) | |
], | |
view: new ol.View({ | |
center: ol.proj.fromLonLat([140,37]), | |
zoom: 10 | |
}) | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment