current position:Home>Baidu map API User Guide - Javascript API | JavaScript API GL | JavaScript API Lite

Baidu map API User Guide - Javascript API | JavaScript API GL | JavaScript API Lite

2022-06-24 08:50:07Yydatav data visualization

One .Javascript API

Baidu Maps JavaScript API It's a set of JavaScript Application program interface written in language , Can help you build rich features in the site 、 Interactive map applications , Support PC Browser based map application development at mobile and mobile end , And support HTML5 Feature map development .

Be careful : The latest version is JavaScript API V3.0.

1.JavaScript API v3.0 Core functions

Map JS API | Baidu Maps API SDKicon-default.png?t=M5H6https://lbsyun.baidu.com/index.php?title=jspopular3.0

Take the overlay layer as an example , The instructions are as follows :

 

2.Demo Example ( Map Foundation , mulch , Control , event , style )

Map JS API Example | Baidu map open platform icon-default.png?t=M5H6https://lbs.baidu.com/jsdemo.htm

Bs Real time debugging tool , Very practical .

 

3.JavaScript API v3.0 Class reference

Baidu Maps JSAPI 3.0 Class reference icon-default.png?t=M5H6https://mapopen-pub-jsapi.bj.bcebos.com/jsapi/reference/jsapi_reference_3_0.html#a0b0

Two .JavaScript API GL

Baidu Maps JavaScript API GL v1.0 It's a set of JavaScript Application program interface written in language , Can help you build rich features in the site 、 Interactive map applications , Support PC Browser based map application development at mobile and mobile end , And support HTML5 Feature map development .

JavaScript API GL Used WebGL Right map 、 Cover, etc , Support 3D Perspective display map . GL The version interface is basically downward compatible , Low migration cost . at present v1.0 This version supports basic 3D Map display 、 Basic map controls and overlays .

1.JavaScript API GL  Core functions

2.Demo Example

open | Baidu Maps API SDKicon-default.png?t=M5H6https://lbsyun.baidu.com/index.php?title=open/jsdemo

 

3. Baidu Maps JSAPI WebGL v1.0 Class reference

Baidu Maps JSAPI WebGL v1.0 Class reference icon-default.png?t=M5H6https://mapopen-pub-jsapi.bj.bcebos.com/jsapi/reference/jsapi_webgl_1_0.html#a0b1

 

3、 ... and .JavaScript API Lite

Baidu Maps JavaScript API Lite  Version is a set of JavaScript Application program interface written in language . Can help you in Mobile browser Build a map application on .

and JavaScript API Compared to the Standard Version ,Lite Version 2 is specifically for mobile terminals H5 The usage scenario of the page , The code is small , Better performance .

1.JavaScript API Lite Core functions

jspopularLiteV1 | Baidu Maps API SDKicon-default.png?t=M5H6https://lbsyun.baidu.com/index.php?title=jspopularLiteV1

 

2.Demo Example

open | Baidu Maps API SDKicon-default.png?t=M5H6https://lbsyun.baidu.com/index.php?title=open/jsdemoLite

 

 3.JavaScript API Lite Class reference

Baidu Maps JSAPI Lite edition Class reference icon-default.png?t=M5H6https://mapopen-pub-jsapi.bj.bcebos.com/jsapi/reference/lite.html

 

Account number and secret key

Baidu map browser version API Free to the outside world , But use Baidu maps API, You still need to apply for a secret key . The entrance is as follows

 JavaScript API - Account number and access key | Baidu Maps API SDKicon-default.png?t=M5H6https://lbsyun.baidu.com/index.php?title=jspopular3.0/guide/getkey

Get your ak after , You can start the journey of Baidu map ~ 

copyright notice
author[Yydatav data visualization],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/175/202206240638199206.html

Random recommended