mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
lint it
This commit is contained in:
@@ -52,9 +52,9 @@ class Map extends React.Component {
|
||||
if (eventPoint !== null && eventPoint.latitude && eventPoint.longitude) {
|
||||
// this.map.setView([eventPoint.latitude, eventPoint.longitude])
|
||||
this.map.setView([eventPoint.latitude, eventPoint.longitude], this.map.getZoom(), {
|
||||
"animate":true,
|
||||
"pan":{
|
||||
"duration": 0.7
|
||||
'animate': true,
|
||||
'pan': {
|
||||
'duration': 0.7
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user