Save ais / adsb images to disk
This commit is contained in:
@@ -167,7 +167,7 @@ export class AirTrafficLayer {
|
||||
|
||||
const makeProps = (p: any) => ({
|
||||
plane: p,
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: window.innerWidth - 360 - 16, y: 16 },
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: 16, y: 16 },
|
||||
onClose: () => this._closePopup(icao),
|
||||
onBringToFront: () => bringToFront(container),
|
||||
})
|
||||
|
||||
@@ -129,7 +129,7 @@ export class AISLayer {
|
||||
|
||||
const makeProps = (b: any) => ({
|
||||
boat: b,
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: window.innerWidth - 360 - 16, y: 16 },
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: 16, y: 16 },
|
||||
onClose: () => this._closePopup(mmsi),
|
||||
onBringToFront: () => bringToFront(container),
|
||||
})
|
||||
|
||||
@@ -194,7 +194,7 @@ export class SatsLayer {
|
||||
history: h_,
|
||||
range: r,
|
||||
eta: e,
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: window.innerWidth - 360 - 16, y: 16 },
|
||||
position: mobile ? { x: window.innerWidth / 2 - 180, y: window.innerHeight - 540 - 16 } : { x: 16, y: 16 },
|
||||
onClose: () => this._closePopup(sat.satellite),
|
||||
onBringToFront: () => bringToFront(container),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user