Leaflet/spec/suites/control/Control.ScaleSpec.js

7 lines
187 B
JavaScript
Raw Normal View History

2012-10-13 03:49:12 +08:00
describe("Control.Scale", function () {
it("can be added to an unloaded map", function () {
var map = L.map(document.createElement('div'));
new L.Control.Scale().addTo(map);
})
});