[TASK] Fix CGL violations in function gettingCenterOfMap()