File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
- import 'leaflet' ;
2
1
import { DivOverlay , DivOverlayOptions } from 'leaflet' ;
3
2
4
3
declare module 'leaflet' {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import './libs/leaflet_plus';
4
4
import * as L from 'leaflet' ;
5
5
import WorldmapCtrl from './worldmap_ctrl' ;
6
6
import { ColorModes } from './model' ;
7
- import { LatLngExpression } from 'leaflet' ;
8
7
9
8
const tileServers = {
10
9
'CARTO Positron' : {
@@ -500,7 +499,7 @@ export default class WorldMap {
500
499
// controls the map centering and zoom level.
501
500
const mapDimensions = this . ctrl . settings . center ;
502
501
503
- let coordinates : LatLngExpression = [ mapDimensions . mapCenterLatitude , mapDimensions . mapCenterLongitude ] ;
502
+ let coordinates : L . LatLngExpression = [ mapDimensions . mapCenterLatitude , mapDimensions . mapCenterLongitude ] ;
504
503
let zoomLevel = mapDimensions . mapZoomLevel ;
505
504
506
505
if ( mapDimensions . mapFitData ) {
You can’t perform that action at this time.
0 commit comments