about using the simulator to run the Baidu Map API is unable to locate the problem-not with the simulator

Source: Internet
Author: User
Simulator is no way to locate, when you join the positioning module, the outgoing parameters are empty.

This method of locating the function is implemented by the callback interface, and when the event is triggered, it needs to be changed by the latitude position.
Official documentation is very clear, simple point, is that you do not have a GPS device can not be implemented (only real machine testing), GPS positioning is real-time monitoring and positioning, at any time to receive and transmit your location information, only constant changes to trigger the location event.
(have to say Baidu's developers are very careful)

Reprinted from http://blog.csdn.net/chuchu521/article/details/7980270 last paragraph

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.