More work on the opening hours picker
This commit is contained in:
parent
4d139b45e6
commit
6563298d16
15 changed files with 321 additions and 100 deletions
5
State.ts
5
State.ts
|
@ -111,9 +111,9 @@ export default class State {
|
|||
* The location as delivered by the GPS
|
||||
*/
|
||||
public currentGPSLocation: UIEventSource<{
|
||||
latlng: number,
|
||||
latlng: {lat:number, lon:number},
|
||||
accuracy: number
|
||||
}> = new UIEventSource<{ latlng: number, accuracy: number }>(undefined);
|
||||
}> = new UIEventSource<{ latlng: {lat:number, lon:number}, accuracy: number }>(undefined);
|
||||
public layoutDefinition: string;
|
||||
public installedThemes: UIEventSource<{ layout: Layout; definition: string }[]>;
|
||||
|
||||
|
@ -139,7 +139,6 @@ export default class State {
|
|||
return ("" + fl).substr(0, 8);
|
||||
})
|
||||
}
|
||||
|
||||
this.zoom = asFloat(
|
||||
QueryParameters.GetQueryParameter("z", "" + layoutToUse.startzoom)
|
||||
.syncWith(LocalStorageSource.Get("zoom"), true));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue