Websocket Map


User Settings (Key / Value pairs)


User settings, are sent and received in key/value pairs.

When the map first connects to the server, any key/value settings are expected to be received.

 

A message at login might look like this:

keyval:{
  "speed":"mph",
  "homeLatLon":"-1.12345,50.12345,30",
  "map":"google"
  "timezone":"auto"
}

 

To set one or more values:

keyval:{
  "speed":"mph",
  "timezone":"auto"
}

 

To delete, just send a blank value:

keyval:{
  "map":""
}