web / usePackstationMap
Function: usePackstationMap() ​
usePackstationMap():
object
Defined in: apps/web/app/composables/usePackstationMap/usePackstationMap.ts:3
Returns ​
object
currentPackstationIndex ​
currentPackstationIndex:
Ref<number|null,number|null>
map ​
map:
Ref<Map|null,Map|null>
mapElement ​
mapElement:
Ref<HTMLElement|null,HTMLElement|null>
mapsLoaded ​
mapsLoaded:
Ref<boolean,boolean> =false
packstationRefs ​
packstationRefs:
Ref<(HTMLElement|null)[], (HTMLElement|null)[]>
previousMarker ​
previousMarker:
Ref<Marker|null,Marker|null>
realMarkers ​
realMarkers:
Ref<Marker[],Marker[]>
resetComponent() ​
resetComponent: () =>
void
Returns ​
void
showPackstationDetails() ​
showPackstationDetails: (
index,marker) =>void
Parameters ​
index ​
number
marker ​
unknown
Returns ​
void