@Override
        public int hashCode() {
            return (location == null ? 0 : location.hashCode()) ^ (heading == null ? 0 : heading.hashCode());
        }
Repaint position overlay but only with a max frequency and if position or heading changes sufficiently.
main/src/main/java/cgeo/geocaching/unifiedmap/LocUpdater.java