Minimal demo.

This commit is contained in:
ahocevar
2012-06-21 18:57:07 +02:00
parent e9e5fd27dc
commit a06de64f37
2 changed files with 54 additions and 0 deletions

23
demo/map.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>OL3 Map</title>
<script type="text/javascript" src="loader.js"></script>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<style type="text/css">
#map {width: 512px; height: 512px;}
.ol-viewport {border: 1px solid gray;}
</style>
</head>
<body>
</body>
<div id="map"></div>
<script type="text/javascript">
ol.map({
el: 'map',
layers: [ol.layer.osm()],
center: [45, 5],
zoom: 10
});
</script>
</html>