Stupid typo

This commit is contained in:
Mattias Bengtsson 2012-11-29 08:10:04 +01:00
parent 2fd70b3bb7
commit 593fa82fe8

View File

@ -43,7 +43,7 @@ describe('TileLayer', function () {
}); });
}); });
describe("when a tilelayer is removed from a map", function () { describe("when a tilelayer is removed from a map", function () {
It("it should have its zoomlevels updated to only fit the layers it currently has", function () { it("it should have its zoomlevels updated to only fit the layers it currently has", function () {
var tiles = [ L.tileLayer("{z}{x}{y}", { minZoom:10, maxZoom: 15 }).addTo(map), var tiles = [ L.tileLayer("{z}{x}{y}", { minZoom:10, maxZoom: 15 }).addTo(map),
L.tileLayer("{z}{x}{y}", { minZoom:5, maxZoom: 10 }).addTo(map), L.tileLayer("{z}{x}{y}", { minZoom:5, maxZoom: 10 }).addTo(map),
L.tileLayer("{z}{x}{y}", { minZoom:10, maxZoom: 20 }).addTo(map), L.tileLayer("{z}{x}{y}", { minZoom:10, maxZoom: 20 }).addTo(map),