Skip to content

Commit 8ca4723

Browse files
committed
Update changelog
1 parent f7c5e46 commit 8ca4723

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ CHANGELOG
66
-------------------
77

88
* Fix GeoJSON serialization when creating new MultiPoint records
9+
* Make the only layer match the map max/min_zoom (fixes #67) (thanks Manuel Clos)
10+
* Added widget attribute to edit several fields on the same map
911

1012

1113
0.13.7 (2014-06-26)

leaflet/static/leaflet/leaflet.extras.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ L.Map.DjangoMap = L.Map.extend({
105105

106106
if (layers.length == 1) {
107107
var layer = l2d(layers[0]);
108-
// make the only layer match the map max/min_zoom
108+
// Make the only layer match the map max/min_zoom
109109
layer.options = L.Util.extend(layer.options, {
110-
'minZoom': this.options['minZoom'],
111-
'maxZoom': this.options['maxZoom']
112-
});
110+
minZoom: this.options.minZoom,
111+
maxZoom: this.options.maxZoom
112+
});
113113
L.tileLayer(layer.url, layer.options).addTo(this);
114114
return;
115115
}

0 commit comments

Comments
 (0)