Baidu map personality map

 Baidu Map API official documentation: http://lbsyun.baidu.com/index.php?title=jspopular/guide/custom

personality map

There are two ways to add a personality map

1. Method 1: Use map templates to customize personalized maps;

The templates provided by the official website are as follows:

normal

Fresh blue style (light) 

redalert style

Lite style (googlelite) 

dark style   

natural green style (grassgreen) 

Midnight blue style (midnight)

Romantic pink style (pink)

 Youth green style (darkgreen)

Fresh blue-green style (bluish)

 High-end gray style (grayscale)

Strong border style (hardedge)

2. Method 2: Through the personalized map editor-http://lbsyun.baidu.com/custom/

Change the color, brightness, saturation, text annotation fill color, text annotation, etc. of map elements to generate style configuration json, and then call the JavaScript API method to make the configuration take effect .

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324954457&siteId=291194637