how to do implementing gravity location models on google maps using PHP programming to select new agent's location?