forked from Leaflet/Leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gh-pages' into master-docs
- Loading branch information
Showing
103 changed files
with
39,062 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
leafletjs.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'github-pages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
exclude: [build, debug, node_modules, spec, src, CNAME, Jakefile.js, reference-tpl.html, CHANGELOG.md, README.md, LICENSE, DOCS-TODO.md] | ||
|
||
markdown: kramdown | ||
|
||
kramdown: | ||
entity_output: as_input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<table> | ||
<tr><td style='text-align: center; border: none'> | ||
<iframe src='{{ include.url }}' width='616' height='416'></iframe> | ||
</td></tr> | ||
<tr><td style='text-align: center; border: none'> | ||
<small><a href='{{ include.url }}'>See this example stand-alone.</a></small> | ||
</td></tr></table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
root: "../../../" | ||
layout: v2 | ||
post: true | ||
bodyclass: post-page | ||
--- | ||
|
||
<p><a href="../../../blog.html">← Back to the list of blog posts</a></p> | ||
|
||
<h2>{{ page.title }}</h2> | ||
|
||
<p class="post-meta">Posted on {{ page.date | date_to_long_string }} by <a href="{{ page.authorsite }}">{{ page.author }}</a></p> | ||
|
||
{{ content }} | ||
|
||
<div id="disqus_thread"></div> | ||
|
||
<script> | ||
var disqus_shortname = 'leafletjs'; | ||
// var disqus_developer = 1; | ||
|
||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
|
||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
root: "../" | ||
layout: v2 | ||
tutorial: true | ||
--- | ||
|
||
<p class="tutorials-back"><a href="../examples.html">← Tutorials</a></p> | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!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="https://npmcdn.com/[email protected]/dist/leaflet.css" /> | ||
<script src="https://npmcdn.com/[email protected]/dist/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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
root: "../../" | ||
layout: v2 | ||
tutorial: true | ||
--- | ||
|
||
<p class="tutorials-back"><a href="../../examples.html">← Tutorials</a></p> | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% capture title %}{% if page.title %}{{ page.title }} - {% elsif post.title %}{{ post.title }} - {% endif %}{% endcapture %} | ||
|
||
<title>{{ title }}Leaflet - a JavaScript library for interactive maps</title> | ||
|
||
<meta charset="utf-8" /> | ||
|
||
{% if title == '' %} | ||
<meta property="og:title" content="Leaflet — an open-source JavaScript library for interactive maps" /> | ||
<meta property="og:description" content="Leaflet is a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps." /> | ||
<meta property="og:image" content="http://leafletjs.com/docs/images/logo.png" /> | ||
|
||
<meta itemprop="name" content="Leaflet"> | ||
<meta itemprop="description" content="Leaflet — a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps."> | ||
<meta itemprop="image" content="http://leafletjs.com/docs/images/logo.png"> | ||
{% endif %} | ||
|
||
<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 href="http://leafletjs.com/atom.xml" type="application/atom+xml" rel="alternate" title="Leaflet Dev Blog Atom Feed" /> | ||
|
||
<link rel="stylesheet" href="{{ root }}docs/css/normalize.css" /> | ||
<link rel="stylesheet" href="{{ root }}docs/css/main.css" /> | ||
|
||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,300' rel='stylesheet' type='text/css'> | ||
|
||
<script src="{{ root }}docs/highlight/highlight.pack.js"></script> | ||
<link rel="stylesheet" href="{{ root }}docs/highlight/styles/github-gist.css" /> | ||
|
||
<!-- Leaflet --> | ||
<link rel="stylesheet" href="https://npmcdn.com/[email protected]/dist/leaflet.css" /> | ||
<script src="https://npmcdn.com/[email protected]/dist/leaflet.js"></script> | ||
|
||
{% if page.css %}<style>{{ page.css }}</style>{% endif %} | ||
|
||
<script> | ||
ACCESS_TOKEN = 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBjZWd2M2x6bDk3c2ZtOTkifQ._QA7i5Mpkd_m30IGElHziw'; | ||
MB_ATTR = 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' + | ||
'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' + | ||
'Imagery © <a href="http://mapbox.com">Mapbox</a>'; | ||
MB_URL = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=' + ACCESS_TOKEN; | ||
OSM_URL = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; | ||
OSM_ATTRIB = '© <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors'; | ||
</script> | ||
</head> | ||
<body{% if page.bodyclass %} class="{{ page.bodyclass }}"{% endif %}> | ||
|
||
<h1><a href="http://leafletjs.com"><img src="{{ root }}docs/images/logo.png" alt="Leaflet" width="300" /></a></h1> | ||
<h3 class="tagline">an open-source JavaScript library<br> for mobile-friendly interactive maps</h3> | ||
|
||
<ul class="nav"> | ||
<li> | ||
{% if page.title == nil %} | ||
<span>Overview</span> | ||
{% else %} | ||
<a href="{{ root }}index.html">Overview</a> | ||
{% endif %} | ||
</li> | ||
<li> | ||
{% if page.title == 'Tutorials' %} | ||
<span>Tutorials</span> | ||
{% else %} | ||
<a href="{{ root }}examples.html"{% if page.tutorial == true %} class="active"{% endif %}>Tutorials</a> | ||
{% endif %} | ||
</li> | ||
<li> | ||
{% if page.title == 'Documentation' %} | ||
<span>Docs</span> | ||
{% else %} | ||
<a href="{{ root }}reference.html">Docs</a> | ||
{% endif %} | ||
</li> | ||
<li> | ||
{% if page.title == 'Download' %} | ||
<span>Download</span> | ||
{% else %} | ||
<a href="{{ root }}download.html">Download</a> | ||
{% endif %} | ||
</li> | ||
<li> | ||
{% if page.title == 'Plugins' %} | ||
<span>Plugins</span> | ||
{% else %} | ||
<a href="{{ root }}plugins.html">Plugins</a> | ||
{% endif %} | ||
</li> | ||
<li> | ||
{% if page.title == 'Blog' %} | ||
<span>Blog</span> | ||
{% else %} | ||
<a href="{{ root }}blog.html"{% if page.post == true %} class="active"{% endif %}>Blog</a> | ||
{% endif %} | ||
</li> | ||
</ul> | ||
|
||
<div class="container"> | ||
|
||
|
||
{{ content }} | ||
|
||
<div class="footer"> | ||
<p>© 2015 <a href="http://agafonkin.com/en">Vladimir Agafonkin</a>. Maps © <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors.</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<nav class="ext-links"> | ||
<a class="ext-link twitter" href="http://twitter.com/LeafletJS" title="Follow LeafletJS on Twitter"><img alt="Follow LeafletJS on Twitter" src="{{root}}docs/images/twitter-round.png" width="46" /></a> | ||
<a class="ext-link github" href="http://github.com/Leaflet/Leaflet" title="View Source on GitHub"><img alt="View Source on GitHub" src="{{root}}docs/images/github-round.png" width="46" /></a> | ||
<a class="ext-link forum" href="https://stackoverflow.com/questions/tagged/leaflet" title="Ask for help on Stack Overflow"><img alt="Leaflet questions on Stack Overflow" src="{{root}}docs/images/forum-round.png" width="46" /></a> | ||
</nav> | ||
|
||
<script> | ||
hljs.configure({tabReplace: ' '}); | ||
hljs.initHighlighting(); | ||
|
||
(function () { | ||
if (document.body.className.indexOf('api-page') !== -1) { | ||
var headers = document.getElementsByTagName('h2'); | ||
|
||
for (var i = 0, len = headers.length; i < len; i++) { | ||
if (headers[i].id) { | ||
headers[i].onclick = function(e) { | ||
if (e.offsetX < 0) { | ||
window.location.hash = '#' + this.id; | ||
} | ||
}; | ||
} | ||
} | ||
} | ||
})(); | ||
</script> | ||
|
||
<script> | ||
var _gaq = _gaq || []; | ||
_gaq.push([ '_setAccount', 'UA-4147697-4' ]); | ||
_gaq.push([ '_trackPageview' ]); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); | ||
ga.type = 'text/javascript'; | ||
ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' | ||
: 'http://www') | ||
+ '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; | ||
s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
|
||
<script type="text/javascript" src="{{ root }}docs/js/docs.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.