Port stamen example to Bootstrap
This commit is contained in:
+34
-30
@@ -1,42 +1,46 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
|
||||||
<style type="text/css">
|
<link rel="stylesheet" href="examples.css" type="text/css">
|
||||||
html, body, #map {
|
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" type="text/css">
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
#text {
|
|
||||||
position: absolute;
|
|
||||||
top: 8px;
|
|
||||||
right: 8px;
|
|
||||||
z-index: 20000;
|
|
||||||
background-color: white;
|
|
||||||
padding: 0 0.5em 0.5em 0.5em;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<title>Stamen example</title>
|
<title>Stamen example</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="map">
|
|
||||||
<div id="text">
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||||
<h1 id="title">Stamen example</h1>
|
<div class="navbar-inner">
|
||||||
<div id="shortdesc">Example of a Stamen tile source.</div>
|
<div class="container">
|
||||||
<div id="docs">
|
<a class="brand" href="example-list.html">OpenLayers 3 Examples</a>
|
||||||
<p>See the
|
|
||||||
<a href="stamen.js" target="_blank">stamen.js source</a>
|
|
||||||
to see how this is done.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="tags">fullscreen, stamen, tilelayer</div>
|
|
||||||
|
<div class="container-fluid">
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span12">
|
||||||
|
<div id="map" class="map"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
|
||||||
|
<div class="span4">
|
||||||
|
<h4 id="title">Stamen example</h4>
|
||||||
|
<p id="shortdesc">Example of a <a href="http://maps.stamen.com">Stamen</a> tile source.</p>
|
||||||
|
<div id="docs">
|
||||||
|
<p>See the <a href="stamen.js" target="_blank">stamen.js source</a> to see how this is done.</p>
|
||||||
|
</div>
|
||||||
|
<div id="tags">stamen, watercolor</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<script src="loader.js?id=stamen" type="text/javascript"></script>
|
<script src="loader.js?id=stamen" type="text/javascript"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user