Created
March 27, 2015 13:11
-
-
Save jbeezley/0c535608be3bea502788 to your computer and use it in GitHub Desktop.
JS Bin A minimial map with GeoJS // source http://jsbin.com/kutoku
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> | |
<html> | |
<head> | |
<meta name="description" content="A minimial map with GeoJS"> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.ext.min.js"></script> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.min.js"></script> | |
<style id="jsbin-css"> | |
html, body, #map { | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="map"></div> | |
<script id="jsbin-javascript"> | |
var map = geo.map({node: '#map'}); | |
map.createLayer('osm'); | |
</script> | |
<script id="jsbin-source-css" type="text/css">html, body, #map { | |
width: 100%; | |
height: 100%; | |
}</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var map = geo.map({node: '#map'}); | |
map.createLayer('osm');</script></body> | |
</html> |
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
html, body, #map { | |
width: 100%; | |
height: 100%; | |
} |
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
var map = geo.map({node: '#map'}); | |
map.createLayer('osm'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment