Use of geolocation

Actually, in this programme red line why are allocate, even my programme is absolutely right…