anchor.diff:    mot: Integer;
     locationStr: string;
     location: Integer;
  -  calcLon: Double;
  -  calcLat: Double;
  +//  calcLon: Double;
  +//  calcLat: Double;
   begin
     timestamp := 0;
  +//  calcLon := Double.NaN;
  +//  calcLat := Double.NaN;
     while aCursor<aLimit do
     begin
       fieldInfo := aPayload.bb_read_uint32(aCursor);
  
positive.code:   end;
  end;
  
  procedure TExpoSenseScenario.UpdateMOT(const aSensorID: TGUID; aTimeStamp: TDateTime; aLat, aLon: Double; aMOT: Integer);
  var
    ol: TOrderedListTS<TExpoSenseDataPoint>;
    dp: TExpoSenseDataPoint;
    so: TSimpleObject;
    layerECLive: TLayerBase;
  begin
    if fDataPoints.TryGetValue(aSensorID, ol) then
    begin
  
negative.code:         if fCombinedTrackLayer.objects.TryGetValue(dp.id(aSensorID), so) then
          begin
            // update location
            {
            if ((so.geometry as TWDGeometryPoint).x <> aLon) or ((so.geometry as TWDGeometryPoint).y <> aLat) then
            begin
              (so.geometry as TWDGeometryPoint).x := aLon;
              (so.geometry as TWDGeometryPoint).y := aLat;
              fCombinedTrackLayer.UpdateObject(so, sojnGeometry, so.jsonGeometryValue);
            end;
            }
            if dp.location<>aLocation then
            begin
              if (aLocation=locNotAtHome) or (aLocation=locOutdoors) then
  