Demand is: Users to generate orders, identified A positioning, to A point, at this point you need to order goods sent to the distribution station, distribution station have N, for N1... NX, you need to find the nearest point A N the actual distance
Solution: Each produces an A call Scott interface, calculate the actual distance between A and several N
Question: Amounts of this scheme is call interface, if there are 100 N, then A A it needs to call 100 interface, the problem is Scott interface call limitation, every day to ask is there A better alternative
Note: the location of the N is a number of fixed position
CodePudding user response:
Really can't do it according to their coordinates to calculate linear distance