Now many well-known websites provide open platforms for developers, such as Baidu and Renren! Here is an example of Baidu map provided by Baidu.Program, Has the following features:
(1) Locating the current location (GPS is not used, and positioning is fast and accurate ),
(2) find nearby locations (scenic spots, KFC, etc ),
(3) Get the route to this location
(4) share the route to everyone
Let's make it more intuitive:
1. Start Interface
2. Renren login interface
3. the logon is successful and the current location is automatically located (this step cannot be implemented due to the simulator used. I hope you can test it on a real machine ), on this page, press the "menu" key to display the surrounding tourist attractions. If the location cannot be properly located, the default city is Nanjing.
4. Search for some scenic spots
5. some scenic spots (incomplete, you have to make more search keywords, such as "scenic spots, mountains, lakes, scenic spots and monuments)
6. Confirm the departure location and destination (automatic matching)
7. Select the route
8. Obtain the route
9. Share the route to everyone
BecauseCodeI downloaded the complete Baidu map I downloaded online and imitated the two projects and detailed tutorials of the android client for everyone. The projects I wrote have been compressed and uploaded for your convenience:
: Http://download.csdn.net/detail/pzhtpf/4130584