Updating example with build config.
This commit is contained in:
@@ -6,19 +6,12 @@
|
||||
<link rel="stylesheet" href="../css/ol.css" type="text/css">
|
||||
<style type="text/css">
|
||||
#map {
|
||||
width: 512px; height: 350px;
|
||||
width: 512px; height: 300px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
<div id="map"></div>
|
||||
<script type="text/javascript">
|
||||
var map = ol.map({
|
||||
renderTo: 'map',
|
||||
layers: [ol.layer.osm()],
|
||||
center: [0, 0],
|
||||
zoom: 1
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
<script type="text/javascript" src="map.js"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user