Permalink
Browse files

Merge branch 'gh-pages' into master-docs

  • Loading branch information...
2 parents 92baa9c + c2161dd commit ffb9a636ca8e33a9b1459da5ef33773074285ca6 @IvanSanchez IvanSanchez committed Aug 18, 2016
Showing with 39,062 additions and 1 deletion.
  1. +2 −1 .gitignore
  2. +1 −0 docs/CNAME
  3. +3 −0 docs/Gemfile
  4. +6 −0 docs/_config.yml
  5. +7 −0 docs/_includes/frame.html
  6. +30 −0 docs/_layouts/post.html
  7. +9 −0 docs/_layouts/tutorial.html
  8. +30 −0 docs/_layouts/tutorial_frame.html
  9. +9 −0 docs/_layouts/tutorial_v2.html
  10. +159 −0 docs/_layouts/v2.html
  11. +240 −0 docs/_posts/2012-07-30-leaflet-0-4-released.md
  12. +47 −0 docs/_posts/2012-08-07-leaflet-0-4-3-and-a-new-tutorial.md
  13. +112 −0 docs/_posts/2012-08-20-guest-post-markerclusterer-0-1-released.md
  14. +36 −0 docs/_posts/2012-10-25-leaflet-0-4-5-bugfix-release-and-plans-for-0.5.md
  15. +24 −0 docs/_posts/2013-01-17-leaflet-0-5-released.md
  16. +146 −0 docs/_posts/2013-02-20-guest-post-draw.md
  17. +31 −0 docs/_posts/2013-06-26-leaflet-0-6-released-dc-code-sprint-mapbox.md
  18. +111 −0 docs/_posts/2013-06-28-leaflet-plugin-authoring-guide.md
  19. +56 −0 docs/_posts/2013-11-18-leaflet-0-7-released-plans-for-future.md
  20. +21 −0 docs/_posts/2015-07-01-leaflet-is-alive-and-kicking.md
  21. +60 −0 docs/_posts/2015-07-15-leaflet-1.0-beta1-released.md
  22. +29 −0 docs/_posts/2015-09-01-leaflet-0.7.4-released.md
  23. +35 −0 docs/_posts/2015-10-14-leaflet-1.0-beta2-released.md
  24. +101 −0 docs/_posts/2016-03-20-debugging-touch-interactions.md
  25. +78 −0 docs/_posts/2016-04-18-leaflet-1.0-rc1.md
  26. +60 −0 docs/_posts/2016-07-16-leaflet-1.0-rc2.md
  27. +53 −0 docs/_posts/2016-08-05-leaflet-1.0-rc3.md
  28. +29 −0 docs/atom.xml
  29. +24 −0 docs/blog.md
  30. +1,082 −0 docs/docs/css/main.css
  31. +426 −0 docs/docs/css/normalize.css
  32. +24 −0 docs/docs/highlight/LICENSE
  33. +1 −0 docs/docs/highlight/highlight.pack.js
  34. +211 −0 docs/docs/highlight/styles/github-gist.css
  35. BIN docs/docs/images/2016-03-20-prosthetic-hand-zooming.gif
  36. BIN docs/docs/images/2016-04-18-inheritances.gif
  37. BIN docs/docs/images/2016-04-18-leaflet-toilet-paper.jpeg
  38. BIN docs/docs/images/2016-04-18-madrid-leaflet-864px.jpg
  39. BIN docs/docs/images/2016-07-18-remote-session.png
  40. BIN docs/docs/images/2016-07-18-tooltip.png
  41. BIN docs/docs/images/2016-08-03-iraq-hacking.jpg
  42. BIN docs/docs/images/choropleth.png
  43. BIN docs/docs/images/custom-icons.png
  44. BIN docs/docs/images/favicon.ico
  45. BIN docs/docs/images/forum-round.png
  46. BIN docs/docs/images/geojson.png
  47. BIN docs/docs/images/github-round.png
  48. BIN docs/docs/images/labels-pane.png
  49. BIN docs/docs/images/layers-control.png
  50. BIN docs/docs/images/leaf-green.png
  51. BIN docs/docs/images/leaf-orange.png
  52. BIN docs/docs/images/leaf-red.png
  53. BIN docs/docs/images/leaf-shadow.png
  54. BIN docs/docs/images/logo.png
  55. BIN docs/docs/images/logos.png
  56. BIN docs/docs/images/mobile.png
  57. BIN docs/docs/images/quick-start.png
  58. BIN docs/docs/images/sprite.png
  59. +75 −0 docs/docs/images/sprite.svg
  60. BIN docs/docs/images/twitter-round.png
  61. BIN docs/docs/images/twitter.png
  62. +52 −0 docs/docs/js/docs.js
  63. +86 −0 docs/download.md
  64. +103 −0 docs/examples.md
  65. BIN docs/examples/baseball-marker.png
  66. +174 −0 docs/examples/choropleth-example.html
  67. +391 −0 docs/examples/choropleth.md
  68. +16 −0 docs/examples/crs-simple/crs-simple-example1.md
  69. +20 −0 docs/examples/crs-simple/crs-simple-example2.md
  70. +38 −0 docs/examples/crs-simple/crs-simple-example3.md
  71. +117 −0 docs/examples/crs-simple/crs-simple.md
  72. BIN docs/examples/crs-simple/thumbnail.png
  73. BIN docs/examples/crs-simple/uqm_map_400px.png
  74. BIN docs/examples/crs-simple/uqm_map_detail.png
  75. BIN docs/examples/crs-simple/uqm_map_full.png
  76. +43 −0 docs/examples/custom-icons-example.html
  77. +133 −0 docs/examples/custom-icons.md
  78. +79 −0 docs/examples/eu-countries.js
  79. +90 −0 docs/examples/geojson-example.html
  80. +281 −0 docs/examples/geojson.html
  81. +50 −0 docs/examples/layers-control-example.html
  82. +93 −0 docs/examples/layers-control.md
  83. +51 −0 docs/examples/map-panes-example.html
  84. +142 −0 docs/examples/map-panes.md
  85. +55 −0 docs/examples/mobile-example.html
  86. +71 −0 docs/examples/mobile.md
  87. +57 −0 docs/examples/quick-start-example.html
  88. +219 −0 docs/examples/quick-start.md
  89. +248 −0 docs/examples/sample-geojson.js
  90. +54 −0 docs/examples/us-states.js
  91. BIN docs/examples/wms/qgis-wms-layers.png
  92. BIN docs/examples/wms/thumbnail.png
  93. +18 −0 docs/examples/wms/wms-example-crs.md
  94. +16 −0 docs/examples/wms/wms-example1.md
  95. +16 −0 docs/examples/wms/wms-example2.md
  96. +34 −0 docs/examples/wms/wms-example3.md
  97. +29 −0 docs/examples/wms/wms-example4.md
  98. +157 −0 docs/examples/wms/wms.md
  99. +216 −0 docs/index.html
  100. +3,351 −0 docs/plugins.md
  101. +22,676 −0 docs/reference-1.0.0.html
  102. +89 −0 docs/reference-tpl.html
  103. +6,429 −0 docs/reference.html
View
@@ -4,15 +4,16 @@ tmp/**/*
.idea
.idea/**/*
*.iml
+_site
*.sublime-*
_site
dist/*.js
dist/*.map
dist/reference.html
coverage/
*.js.html
-index.html
.mailmap
bower.json
component.json
debug/local/
+Gemfile.lock
View
@@ -0,0 +1 @@
+leafletjs.com
View
@@ -0,0 +1,3 @@
+source 'https://rubygems.org'
+
+gem 'github-pages'
View
@@ -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
@@ -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>
@@ -0,0 +1,30 @@
+---
+root: "../../../"
+layout: v2
+post: true
+bodyclass: post-page
+---
+
+<p><a href="../../../blog.html">&larr; 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>
+
@@ -0,0 +1,9 @@
+---
+root: "../"
+layout: v2
+tutorial: true
+---
+
+<p class="tutorials-back"><a href="../examples.html">&larr; Tutorials</a></p>
+
+{{ content }}
@@ -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/leaflet@1.0.0-rc.3/dist/leaflet.css" />
+ <script src="https://npmcdn.com/leaflet@1.0.0-rc.3/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>
@@ -0,0 +1,9 @@
+---
+root: "../../"
+layout: v2
+tutorial: true
+---
+
+<p class="tutorials-back"><a href="../../examples.html">&larr; Tutorials</a></p>
+
+{{ content }}
View
@@ -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/leaflet@1.0.0-rc.3/dist/leaflet.css" />
+ <script src="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
+
+ {% if page.css %}<style>{{ page.css }}</style>{% endif %}
+
+ <script>
+ ACCESS_TOKEN = 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBjZWd2M2x6bDk3c2ZtOTkifQ._QA7i5Mpkd_m30IGElHziw';
+ MB_ATTR = 'Map data &copy; <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 = '&copy; <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>&copy; 2015 <a href="http://agafonkin.com/en">Vladimir Agafonkin</a>. Maps &copy; <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.

0 comments on commit ffb9a63

Please sign in to comment.