feat(SW-189): added translations and some minor changes
This commit is contained in:
4
types/components/maps/coordinates.ts
Normal file
4
types/components/maps/coordinates.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface Coordinates {
|
||||
lat: number
|
||||
lng: number
|
||||
}
|
||||
11
types/components/maps/staticMap.ts
Normal file
11
types/components/maps/staticMap.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Coordinates } from "./coordinates"
|
||||
|
||||
export type StaticMapProps = {
|
||||
city?: string
|
||||
coordinates?: Coordinates
|
||||
width: number
|
||||
height: number
|
||||
zoomLevel?: number
|
||||
mapType?: "roadmap" | "satellite" | "terrain" | "hybrid"
|
||||
altText: string
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
export type StaticMapProps = {
|
||||
city: string
|
||||
width: number
|
||||
height: number
|
||||
zoomLevel: number
|
||||
mapType: "roadmap" | "satellite" | "terrain" | "hybrid"
|
||||
}
|
||||
Reference in New Issue
Block a user