text:"Hey, the map changed! Some devices only report certain types of measurement, and different measurements have different colour scales.",
attachTo:{element:"#map",on:"bottom"},
buttons:this.get_buttons()
});
this.tour.addStep("layer-showhide",{
text:"You can show and hide the device markers and the heatmap here.",
attachTo:{
element:".leaflet-control-layers",
on:"left"
},
buttons:this.get_buttons()
});
this.tour.addStep("map-controls",{
text:"You can control the zoom level and go fullscreen here. You can also zoom with your mouse wheel if you have one, and pan by clicking and dragging.",
attachTo:{
element:".leaflet-top.leaflet-left",
on:"right"
},
buttons:this.get_buttons()
});
this.tour.addStep("device-graph",{
text:"By clicking a blue marker, you can view additional information about that device. Not all device are actively reporting data. Try clicking one now.",
text:"This is a device information popup. By default it displays recent data that the device has reported on the line graph, but you can control this with the blue buttons.",
attachTo:{
element:".popup-device",
on:"right"
},
buttons:this.get_buttons()
});
this.tour.addStep("device-graph-b",{
text:"By clicking here, you can see the specification of the device, including its software, sensor models, exact location, more. Click this now.",
text:"If you find a bug, you can report it by clicking this button.",
attachTo:{
element:"button[value='Report bug']",
on:"right"
},
buttons:this.get_buttons()
});
this.tour.addStep("changelog",{
text:"The changelog will be automatically shown every time this web interface updates. Click the version information here to review it again at other times.",
attachTo:{
element:"button[value~='built']",
on:"right"
},
buttons:this.get_buttons()
});
this.tour.addStep("complete",{
text:"Tour complete!\nIf you need any additional assistance, let us know :-)",