mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-16 22:40:01 +08:00
* Rename package : same name than npm package * Change name of test file * According header to match original github repo
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
import * as L from 'leaflet';
|
|
|
|
const map = L.map('map', {
|
|
center: [51.505, -0.09],
|
|
zoom: 13,
|
|
});
|
|
const mousePosition = L.control.mousePosition({position: 'topright', emptyString: 'Unavailable'});
|
|
map.addControl(mousePosition);
|