[WeChat public platform development] uses Baidu interfaces to create one-click navigation and one-click public navigation

Source: Internet
Author: User

[Public platform development] uses the Baidu interface to create one-click navigation and one-click public navigation

During development, many merchant users require specific addresses to display their addresses on Baidu or soso maps.

This function can be easily implemented by using the map punctuation function of Baidu api.

1. The functions are described as follows:

Map punctuation

You can call this operation to call a PC or web Map and display the vertex name and content on the specified coordinate point.

Instance

Http://api.map.baidu.com/marker? Location = 40.047669, 116.313082 & title = My location & content = Baidu kuike tower & output = html & src = yourComponyName | yourAppName // call Baidu PC or web Map, the "My location" and "Baidu kuike building" information window are displayed on the coordinates of (lat: 39.916979519873, lng: 116.41004950566.

2. Use another Baidu tool to pick up the coordinate system tool to obtain the longitude and latitude of the location.
Tool address: Http://api.map.baidu.com/lbsapi/getpoint/index.html


The final usage is as follows:
<A href = "http://api.map.baidu.com/marker? Location = 26.08503630939, 119.27011620412 & title = Baidu Daxia & content = Baidu Daxia Location & output = html & src = whatever "> <p class =" ico ">  </p> <p class =" title "> one-click navigation </p> </a>




Implement Baidu map navigation code in public platform development mode

Download.csdn.net/detail/dayan1852/6926891
For Baidu navigation, see lbsyun.baidu.com/
 
How can I debug interfaces on the public platform?

The two boxes you mentioned
After the authentication is successful, it will be displayed in -- set -- account information on your public account platform.

I also want to ask if you are applying for Weibo certification or certification.

Related Article

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.