Home > Web Front-end > JS Tutorial > Baidu map api application to mark geographical location information (js version)_javascript skills

Baidu map api application to mark geographical location information (js version)_javascript skills

WBOY
Release: 2016-05-16 17:42:22
Original
1814 people have browsed it

Sometimes I do something without recording it, and when I look at it after a while, I may forget it. Need to watch it again.

Baidu map javascript api can refer to http://developer.baidu.com/map/reference/
Example: http://developer.baidu.com/map/jsdemo.htm

More introductions to Baidu Maps http://www.cnblogs.com/milkmap/tag/mapAPI/
The introduction is very detailed.

I made a Baidu map to mark the geographical location information, and obtained the address through Baidu API. This map api is a javascript version

Add the displayed div control

Copy the code The code is as follows:

Search:
type="button" value="search" style="cursor: pointer" />


Latitude:
Longitude:
Mark point Area:








Beijing City [Change City]


🎜>
Copy code

The code is as follows: //jquery library //Baidu map file //City selection
Add code



Copy the code

The code is as follows:



Rendering

The source code of this annotation: Baidu map annotation source code

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template