mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-12 18:57:05 +00: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);
|