1. Geographic location positioning is handed over to third-party map components
2. Use a relatively mature real-time communication platform to complete positioning data interaction. However, it should be noted that after two users establish a data interaction channel, if they want to interact with other users, they must Close the current channel, just like Didi Taxi
3. In fact, the business can directly call an interface similar to REST API
P.S. Point 2: If you use the polling mechanism, it will put a lot of pressure on the server, so it is recommended to use the real-time communication mechanism.
1. Geographic location positioning is handed over to third-party map components
2. Use a relatively mature real-time communication platform to complete positioning data interaction. However, it should be noted that after two users establish a data interaction channel, if they want to interact with other users, they must Close the current channel, just like Didi Taxi
3. In fact, the business can directly call an interface similar to REST API
P.S. Point 2: If you use the polling mechanism, it will put a lot of pressure on the server, so it is recommended to use the real-time communication mechanism.