/
githubmirror
/
Leaflet
Обзор
Документация
Войти
/
githubmirror
/
Leaflet
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
spec/suites/control/ScaleControlSpec.js
8 строк
234 B
Simon Legner
Control: stop exposing modules on other classes (#10054)
07 янв 2026, 18:01
Не верифицирован
07 янв 2026, 18:01
35e4ac2
Код
Авторство
О чём код?
import {LeafletMap, ScaleControl} from 'leaflet'; describe('ScaleControl', () => { it('can be added to an unloaded map', () => { const map = new LeafletMap(document.createElement('div')); new ScaleControl().addTo(map); }); });