I am developing a custom-made dashboard that should show a heatmap based on the location data received through scanning API. The JSON data which I receive to my server contains the "same X and Y" values for all the observations. Having the same X/Y values, all devices show on the same point on the map which does not look good. Same is the case with the lat/lng parameters (as shown in the sample of two observations). Can anyone please help me find out why all the x/y and lat/lng are same?
DATA OF TWO DEVICES
{
"ipv4":null,
"location":{
"lat":43.67050438722674,
"lng":-79.43516895174982,
"unc":49.0,
"x":[
2.609648886043864
],
"y":[
9.945760958902572
]
},
"seenTime":"2019-08-03T21:25:19Z",
"ssid":null,
"os":"iOS",
"clientMac":"d4:90:9c:45:12:e8",
"seenEpoch":1564867519,
"rssi":6,
"ipv6":null,
"manufacturer":"Apple"
},
{
"ipv4":null,
"location":{
"lat":43.67050438722674,
"lng":-79.43516895174982,
"unc":49.0,
"x":[
2.609648886043864
],
"y":[
9.945760958902572
]
},
"seenTime":"2019-08-03T21:25:24Z",
"ssid":null,
"os":null,
"clientMac":"dc:ef:ca:2c:64:14",
"seenEpoch":1564867524,
"rssi":16,
"ipv6":null,
"manufacturer":"Murata Manufacturing"
}
NOTE: I am using one AP and placed a floor plan in the dashboard as well.
Thanks in advance