forked from MapComplete/MapComplete
Add Mapillary image load support, close #136
This commit is contained in:
parent
5e869479c1
commit
6a2b3d82de
6 changed files with 166 additions and 63 deletions
9
test.ts
9
test.ts
|
@ -1,15 +1,10 @@
|
|||
//*
|
||||
|
||||
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import OpeningHoursVisualization from "./UI/OhVisualization";
|
||||
import {MapillaryImage} from "./UI/Image/MapillaryImage";
|
||||
|
||||
const oh = "Tu-Fr 09:00-17:00 'as usual'; mo off 'yyy'; su off 'xxx'"
|
||||
const tags = new UIEventSource<any>({opening_hours:oh});
|
||||
new OpeningHoursVisualization(tags, 'opening_hours').AttachTo('maindiv')
|
||||
new MapillaryImage("JVUQ9Lxtfef-Yj6-GYdGwQ").AttachTo("maindiv")
|
||||
|
||||
|
||||
window.setTimeout(() => {tags.data._country = "be"; }, 5000)
|
||||
/*/
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue