Baidu map punctuation function
Invoking the interface, adjustable from PC or web map, and displays the name and content of the information points on the specified coordinate points
Service Address
http://api.map.baidu.com/marker // PC & WebApp service address
Parameter Description
location lat <latitude>, lng <longitude>
title label point show title
content label points display content
output represents the output type, you must specify the html to show the results on the web map products
coord_type coordinate type, the default is bd09 latitude and longitude coordinates. Allowed values bd09ll, bd09mc, gcj02, wgs84. bd09ll represents Baidu latitude and longitude coordinates, bd09mc represents Baidu Mercator coordinates, gcj02 expressed through State Bureau of encryption measured coordinates, wgs84 gps coordinates representing acquired.
zoom the map to show the level of default is optimal visual level.
src call source rule: companyName | appName.
Examples
http://api.map.baidu.com/marker?location=40.047669,116.313082&title= My Location & content = Baidu Kuike Building & output = html & src = yourComponyName | yourAppName
// invoking Baidu PC or web map, and display the name of "My Location" content "Baidu Kuike buildings" information window (lat: 116.41004950566: 39.916979519873, lng) coordinates.
In iOS browser to open the link above to call up from Baidu web map
Baidu Map pickup coordinate system (note: coordinate positions are reversed)
http://api.map.baidu.com/lbsapi/getpoint/index.html
----------------
Disclaimer: This article is CSDN blogger "wandering fish" in the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/t595981879/article/details/84644356