fix trackerLayerWithMeasurements and add method with max layer
fix variable names
Merge pull request #3507 from cerati/fix-hit-pattern-tk-layers-slhc

Fix hit pattern tk layers slhc