903f344e43
* Example/tutorial for WMS and TMS * Corrections from proof-reading the WMS tutorial; EPSG:4326 example
31 lines
910 B
HTML
31 lines
910 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% capture title %}{% if page.title %}{{ page.title }} - {% elsif post.title %}{{ post.title }} - {% endif %}{% endcapture %}
|
|
<title>{{ title }}Leaflet</title>
|
|
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %}
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ root }}docs/images/favicon.ico" />
|
|
|
|
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
|
|
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
|
|
|
|
<style>
|
|
#map {
|
|
width:600px;
|
|
height: 400px;
|
|
}
|
|
</style>
|
|
{% if page.css %}<style>{{ page.css }}</style>{% endif %}
|
|
</head>
|
|
<body{% if page.bodyclass %} class="{{ page.bodyclass }}"{% endif %}>
|
|
|
|
<div id='map'></div>
|
|
|
|
{{ content }}
|
|
|
|
</body>
|
|
</html>
|