Files
openlayers/examples/resources/external-map-map.html
Maximilian Krög 259e3fe1c9 Fix ol.css for some examples
- es2015-custom-element needs css variables declared in :host
- external-map-map still does not work when editing in codesandbox,
  though that neither worked before.
2022-08-14 16:36:48 +02:00

31 lines
680 B
HTML

<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../theme/ol.css" type="text/css">
<style>
body {
margin: 0;
}
.map {
height: 100%;
}
.map.unusable .ol-mask {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
background-color: rgba(0, 0, 0, .7);
color: white;
font: bold 3rem 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.map.unusable .ol-control {
display: none;
}
</style>
</head>
<body>
<div id="map" class="map"></div>
</body>
</html>