Make a festival map #6183
Replies: 1 comment
-
Posted at 2023-08-14 by Hank Can't you just make an OSM file from the location and use https://banglejs.com/apps/?id=openstmap? Posted at 2023-08-14 by AccMagno Yeah, but you can't see the festival map icons or what is where. Posted at 2023-08-14 by @gfwilliams I'd look at the OpenStreetMap uploader. It grabs an image of the map and then converts it to tiles and uploads them, with a bit of metadata to say what area they're for: https://github.com/espruino/BangleApps/blob/master/apps/openstmap/interface.html#L251-L296 So basically what you want is to call the code above on your festival map image, then to create the JSON for it: https://github.com/espruino/BangleApps/blob/master/apps/openstmap/interface.html#L384-L394 And then magically the existing openstmap app would do everything for you... OR... you could use that tiling code to make an image for your own app - rendering it is nice and easy: https://github.com/espruino/BangleApps/blob/master/apps/openstmap/openstmap.js#L74-L80 Posted at 2023-08-14 by user140377 ..or you can just add the festival locations as waypoints . openstmap renders them. Posted at 2023-08-15 by @gfwilliams I guess it might be interesting to extend the OpenStreepMap app uploader with a menu that allows you to upload an image and then match 2 points on it against a map view (eg click on 2 buildings on the image you uploaded and match those against the same buildings on the map). When that was done, the image could be uploaded and the relevant metadata file created to make the map appear automatically alongside all the other ones on the Bangle. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-08-14 by AccMagno
I'm add CCC( Chaos Communication Camp 2023) and was thinking to make a festival map app for bangle and then you can view the map from the watch, move it and zoom it. How would I start with that? Maybe even make it that way, that you can load your own map on it and you can view it at any festival?
Beta Was this translation helpful? Give feedback.
All reactions