forked from MapComplete/MapComplete
Add share tab
This commit is contained in:
parent
dcdfa8159b
commit
7b91d2574f
17 changed files with 573 additions and 104 deletions
14
test.ts
14
test.ts
|
@ -0,0 +1,14 @@
|
|||
import {TabbedComponent} from "./UI/Base/TabbedComponent";
|
||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
import {Bookcases} from "./Customizations/Layouts/Bookcases";
|
||||
import {ShareScreen} from "./UI/ShareScreen";
|
||||
import {UIEventSource} from "./UI/UIEventSource";
|
||||
|
||||
|
||||
const layout = new Bookcases();
|
||||
|
||||
new ShareScreen(layout, new UIEventSource<{zoom: number, lat: number, lon: number}>({
|
||||
zoom: 16,
|
||||
lat: 51.5,
|
||||
lon:3.2
|
||||
})).AttachTo("maindiv")
|
Loading…
Add table
Add a link
Reference in a new issue