Hi, I have a similar issue as one reported in Issue #169 with BAD DATA thrown in console when speed is added to payload.
All cases that I tried:
Payload does not contain speed - no errors
Payload contains speed represented by decimal number - BAD DATA in console
Payload contains speed and the value is 0 - BAD DATA in console
After the map is loaded the object is shown with heading marker:
after the first data update the heading marker disappears:
This is a JSON with speed that causes BAD DATA:
{"name":"Maria Pinta","lat":44.001767,"lon":9.685178,"hdg":164,"speed":3.2,"label":"Maria Pinta","icon":"ship","iconColor":"#35ADF8","color":"#44803F","layer":"barche","ricevuto":"0 sec fa","skipper":"Senza skipper"}
This is a JSON without speed that does not cause errors:
{"name":"Magialla","lat":44.079665,"lon":9.831423,"hdg":0,"label":"Magialla","icon":"ship","iconColor":"#D8D8D8","color":"#A3A3A2","layer":"barche","ricevuto":"7 min fa","skipper":"Senza skipper"}
Hi, I have a similar issue as one reported in Issue #169 with BAD DATA thrown in console when speed is added to payload.
All cases that I tried:
This is a JSON with speed that causes BAD DATA:
{"name":"Maria Pinta","lat":44.001767,"lon":9.685178,"hdg":164,"speed":3.2,"label":"Maria Pinta","icon":"ship","iconColor":"#35ADF8","color":"#44803F","layer":"barche","ricevuto":"0 sec fa","skipper":"Senza skipper"}
This is a JSON without speed that does not cause errors:
{"name":"Magialla","lat":44.079665,"lon":9.831423,"hdg":0,"label":"Magialla","icon":"ship","iconColor":"#D8D8D8","color":"#A3A3A2","layer":"barche","ricevuto":"7 min fa","skipper":"Senza skipper"}
Originally posted by @DRazumovskiy in https://github.com/dceejay/RedMap/issues/169#issuecomment-1583156864