bump to 0.7.5
This commit is contained in:
parent
a85c6071ca
commit
b1bc6305a2
@ -23,7 +23,7 @@ The 0.7.x releases will not implement new features. Stay tuned for more news on
|
||||
|
||||
Developers using Leaflet 0.7.3 are advised to upgrade to 0.7.5 to prevent problems arising from modern browers.
|
||||
|
||||
The release is also available through NPM, Bower, [GitHub download](https://github.com/Leaflet/Leaflet/archive/v0.7.4.zip), or through our CDN:
|
||||
The release is also available through NPM, Bower, [direct download](http://cdn.leafletjs.com/downloads/leaflet-0.7.5.zip), or through our CDN:
|
||||
|
||||
<link rel="stylesheet" href="cdn.leafletjs.com/leaflet-0.7.4/leaflet.css" />
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.4/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.js"></script>
|
||||
|
10
dist/leaflet-src.js
vendored
Executable file → Normal file
10
dist/leaflet-src.js
vendored
Executable file → Normal file
@ -7,7 +7,7 @@
|
||||
var oldL = window.L,
|
||||
L = {};
|
||||
|
||||
L.version = '0.7.4';
|
||||
L.version = '0.7.5';
|
||||
|
||||
// define Leaflet for Node module pattern loaders, including Browserify
|
||||
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
@ -3537,12 +3537,8 @@ L.Marker = L.Class.extend({
|
||||
|
||||
update: function () {
|
||||
if (this._icon) {
|
||||
var pos = this._map.latLngToLayerPoint(this._latlng).round();
|
||||
L.Util.requestAnimFrame(function () {
|
||||
this._setPos(pos);
|
||||
}, this);
|
||||
this._setPos(this._map.latLngToLayerPoint(this._latlng).round());
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
@ -3565,7 +3561,7 @@ L.Marker = L.Class.extend({
|
||||
if (options.title) {
|
||||
icon.title = options.title;
|
||||
}
|
||||
|
||||
|
||||
if (options.alt) {
|
||||
icon.alt = options.alt;
|
||||
}
|
||||
|
4
dist/leaflet.js
vendored
Executable file → Normal file
4
dist/leaflet.js
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
12
download.md
12
download.md
@ -12,13 +12,9 @@ bodyclass: download-page
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="width100"><a href="http://cdn.leafletjs.com/downloads/leaflet-0.7.4.zip">Leaflet 0.7.4</a></td>
|
||||
<td>Stable version, released on November 18, 2013 and last updated on Sep 1, 2015.</td>
|
||||
<td class="width100"><a href="http://cdn.leafletjs.com/downloads/leaflet-0.7.5.zip">Leaflet 0.7.5</a></td>
|
||||
<td>Stable version, released on November 18, 2013 and last updated on Sep 2, 2015.</td>
|
||||
</tr>
|
||||
<!--<tr>
|
||||
<td class="width100"><a href="http://leaflet-cdn.s3.amazonaws.com/build/leaflet-0.6.4.zip">Leaflet 0.6.4</a></td>
|
||||
<td>Previous stable version, released on June 26, 2013 and last updated on July 25, 2013.</td>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<td><a href="http://cdn.leafletjs.com/downloads/leaflet-1.0.0-b1.zip">Leaflet 1.0 beta 1</a></td>
|
||||
<td>Last 1.0 beta, released on July 14, 2015.</td>
|
||||
@ -39,8 +35,8 @@ so please read the changelog carefully when upgrading to it.
|
||||
The latest stable Leaflet release is hosted on a CDN — to start using
|
||||
it straight away, place this in the `head` of your HTML code:
|
||||
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.4/leaflet.css" />
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.4/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.js"></script>
|
||||
|
||||
### Using a Downloaded Version of Leaflet
|
||||
|
||||
|
@ -19,11 +19,11 @@ Before writing any code for the map, you need to do the following preparation st
|
||||
|
||||
* Include Leaflet CSS file in the head section of your document:
|
||||
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.4/leaflet.css" />
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
|
||||
|
||||
* Include Leaflet JavaScript file:
|
||||
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.4/leaflet.js"></script>
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.js"></script>
|
||||
|
||||
* Put a `div` element with a certain `id` where you want your map to be:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user