89 lines
3.8 KiB
HTML
89 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" type="text/css">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" type="text/css">
|
|
<link rel="stylesheet" href="./resources/prism/prism.css" type="text/css">
|
|
<link rel="stylesheet" href="../css/ol.css" type="text/css">
|
|
<link rel="stylesheet" href="./resources/layout.css" type="text/css">
|
|
{{{ extraHead.local }}}
|
|
{{{ css.tag }}}
|
|
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList"></script>
|
|
<script src="./resources/zeroclipboard/ZeroClipboard.min.js"></script>
|
|
<title>{{ title }}</title>
|
|
</head>
|
|
<body>
|
|
|
|
<header class="navbar" role="navigation">
|
|
<div class="container">
|
|
<div class="display-table pull-left" id="navbar-logo-container">
|
|
<a class="navbar-brand" href="./"><img src="./resources/logo-70x70.png"> OpenLayers Examples</a>
|
|
</div>
|
|
<!-- menu items that get hidden below 768px width -->
|
|
<nav class='collapse navbar-collapse navbar-responsive-collapse'>
|
|
<ul class="nav navbar-nav pull-right">
|
|
<li><a href="../doc">Docs</a></li>
|
|
<li><a class="active" href="index.html">Examples</a></li>
|
|
<li><a href="../apidoc">API</a></li>
|
|
<li><a href="https://github.com/openlayers/ol3">Code</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<h4 id="title">{{ title }}</h4>
|
|
{{{ contents }}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<p id="shortdesc">{{ shortdesc }}</p>
|
|
<div id="docs">{{ md docs }}</div>
|
|
<div id="api-links">Related API documentation: {{{ js.apiHtml }}}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row-fluid">
|
|
<div id="source-controls">
|
|
<a id="copy-button"><i class="fa fa-clipboard"></i> Copy</a>
|
|
<a id="jsfiddle-button"><i class="fa fa-jsfiddle"></i> Edit</a>
|
|
</div>
|
|
<form method="POST" id="jsfiddle-form" target="_blank" action="http://jsfiddle.net/api/post/library/pure/">
|
|
<textarea class="hidden" name="js">{{ js.source }}</textarea>
|
|
<textarea class="hidden" name="css">{{ css.source }}</textarea>
|
|
<textarea class="hidden" name="html">{{ contents }}</textarea>
|
|
<input type="hidden" name="wrap" value="l">
|
|
<input type="hidden" name="resources" value="http://openlayers.org/en/v{{ olVersion }}/css/ol.css,http://openlayers.org/en/v{{ olVersion }}/build/ol.js{{ extraResources }}">
|
|
</form>
|
|
<pre><code id="example-source" class="language-markup"><!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" href="http://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css">
|
|
<script src="http://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>{{#if extraHead.remote}}
|
|
{{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}}
|
|
<style>
|
|
{{ indent css.source spaces=6 }} </style>{{/if}}
|
|
</head>
|
|
<body>
|
|
{{ indent contents spaces=4 }} <script>
|
|
{{ indent js.source spaces=6 }} </script>
|
|
</body>
|
|
</html></code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="./resources/common.js"></script>
|
|
<script src="./resources/prism/prism.min.js"></script>
|
|
{{{ js.tag }}}
|
|
</body>
|
|
</html>
|