Closed bitmage closed 6 years ago
Have the basic layout that I'd like to demo with for the command center app. Still need to add in swarm.js syncing. The examples on the swarm readme aren't working for me, so I'm reading through the code for the 'mice' demo on https://github.com/swarmjs/swarm-example. I'll try to get something similar working for the map.
Map now displays a blue pin at the center by default. You can pop open the console and change the pin's location with this code:
app.data.pins["ash"].set({x: 33.58, y: -112.07})
Marking this task as done.
Goals: Functional demo with simple as possible tech stack. No build pipeline or compiled languages. The swarm.js paradigm will already have a learning curve, so try to reduce distractions.
Browser: vue.js, leaflet.js, openstreetmaps, swarm.js Server: Node.js, express, swarm.js, mongodb