24 lines
476 B
HTML
24 lines
476 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Using OpenLayers with Webpack</title>
|
|
<link rel="stylesheet" href="https://openlayers.org/en/latest/css/ol.css" type="text/css">
|
|
<style>
|
|
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
#map {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="map"></div>
|
|
<script src="./bundle.js"></script>
|
|
</body>
|
|
</html>
|