forked from zuramai/mazer
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-map-openlayers.html
51 lines (50 loc) · 1.45 KB
/
ui-map-openlayers.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% set title = 'OpenLayers Map' %}
{% set filename = 'ui-map-openlayers.html' %}
{% extends 'src/layouts/master.html' %}
{% block content %}
<div class="page-heading">
<div class="page-title">
<div class="row">
<div class="col-12 col-md-6 order-md-1 order-last">
<h3>OpenLayers Map</h3>
<p class="text-subtitle text-muted">A high-performance, feature-packed library for all your mapping needs.</p>
</div>
<div class="col-12 col-md-6 order-md-2 order-first">
<nav aria-label="breadcrumb" class="breadcrumb-header float-start float-lg-end">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page">OpenLayers Map</li>
</ol>
</nav>
</div>
</div>
</div>
<section class="section">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h5 class="card-title">Our Location</h5>
</div>
<div class="card-body">
<div id="map" class="map"><div id="popup"></div></div>
</div>
</div>
</div>
</div>
</section>
</div>
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css">
<style>
.map {
height: 500px;
width: 100%;
}
</style>
{% endblock %}
{% block js %}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
<script src="assets/static/js/pages/ui-map-openlayers.js"></script>
{% endblock %}