Remove CDN links

This commit is contained in:
Vladimir Agafonkin 2012-04-24 22:27:46 +03:00
parent 23690df560
commit 68d3b81aa8

View File

@ -53,17 +53,6 @@
</p>
<h3>Using a hosted version of Leaflet</h3>
<p>The latest stable release of Leaflet is hosted on a CDN &mdash; to start using it straight away, place this code in the <code>head</code> section of your HTML:</p>
<pre><code class="html">&lt;link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.css" /&gt;
&lt;!--[if lte IE 8]&gt;
&lt;link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.ie.css" /&gt;
&lt;![endif]--&gt;
&lt;script src="http://code.leafletjs.com/leaflet-0.3.1/leaflet.js"&gt;&lt;/script&gt;</code></pre>
<h3>Download Leaflet</h3>
<p>Besides the library itself, the download package contains full source code, unit tests, files for debugging and a build system. The production files (included the same way as in the code above) are in the <code>dist</code> folder.</p>
@ -77,6 +66,16 @@
<a href="https://github.com/CloudMade/Leaflet/blob/master/CHANGELOG.md">View Changelog</a>
</p>
<h3>Including Leaflet on your web page</h3>
<p>After downloading Leaflet and extracting the contents of the `dist` folder somewhere in your project directory, place this code in the <code>head</code> section of your HTML:</p>
<pre><code class="html">&lt;link rel="stylesheet" href="[path-to-dist]/leaflet.css" /&gt;
&lt;!--[if lte IE 8]&gt;
&lt;link rel="stylesheet" href="[path-to-dist]/leaflet.ie.css" /&gt;
&lt;![endif]--&gt;
&lt;script src="[path-to-dist]/leaflet.js"&gt;&lt;/script&gt;</code></pre>
<h3>Building a custom version of Leaflet</h3>
<p>Open <code>build/build.html</code> page from the download package, check the components you want to see in your build and then follow the instructions there.</p>