Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
<title>Realtime search demo</title>
</head>
<style type="text/css">
.search-box{
margin-top: 1rem;
}
.result{
margin-top: 1rem;
}
.list-group-item{
margin-top: 10px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24);
}
.column {
float: left;
width: 50%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
</style>
<body>
<div class="container row">
<div class="column">
<div class="col-xs-8 col-xs-offset-2 search-box">
<div class="input-group">
<input oninput="updateResult(this.value)" type="search" class="form-control" placeholder="Search..." />
</div>
</div>
<div class="container">
<ul class="list-group result"></ul>
</div>
</div>
<div class="column">
<div id="map" style="height:350px"></div>
</div>
</div>
<script src="http://openlayers.org/api/OpenLayers.js"></script>
</body>
<script src="main.js"></script>
</html>