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 ],
|
||||
zoom: options.zoomLevel,
|
||||
attributionControl: false,
|
||||
zoomControl: false
|
||||
zoomControl: false,
|
||||
worldCopyJump: true
|
||||
});
|
||||
|
||||
let tileUrlFormat, tileUrlSubDomains, annotationUrlFormat, annotationUrlSubDomains: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user