Correct latitude (y) and longitude (x) coordinates of map
I had them reversed.
This commit is contained in:
parent
623f0af2ab
commit
dc7098daf3
|
@ -25,7 +25,7 @@
|
|||
const svg = container.childNodes[0];
|
||||
svg.remove();
|
||||
|
||||
const latLngBounds = L.latLngBounds([[0, 0], [1500, 1192]]);
|
||||
const latLngBounds = L.latLngBounds([[0, 0], [1192, 1500]]);
|
||||
const map = L.map(container, {
|
||||
center: latLngBounds.getCenter(),
|
||||
zoom: 4,
|
||||
|
|
Loading…
Reference in New Issue