mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
fix the longitude exceeds 180 degrees when selecting a new geographic location by user
This commit is contained in:
@@ -97,7 +97,8 @@ export class LeafletMapInstance implements MapInstance {
|
|||||||
center: [ options.initCenter.latitude, options.initCenter.longitude ],
|
center: [ options.initCenter.latitude, options.initCenter.longitude ],
|
||||||
zoom: options.zoomLevel,
|
zoom: options.zoomLevel,
|
||||||
attributionControl: false,
|
attributionControl: false,
|
||||||
zoomControl: false
|
zoomControl: false,
|
||||||
|
worldCopyJump: true
|
||||||
});
|
});
|
||||||
|
|
||||||
let tileUrlFormat, tileUrlSubDomains, annotationUrlFormat, annotationUrlSubDomains: string | undefined;
|
let tileUrlFormat, tileUrlSubDomains, annotationUrlFormat, annotationUrlSubDomains: string | undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user