Blame view

node_modules/bmaplib.lushu/README.md 498 Bytes
290144e9   易尊强   第一次
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  # BMapLib.LuShu
  
  ## Installation
  
  ### NPM
  
  ```bash
  $ npm i --save bmaplib.lushu
  ```
  
  ### CDN
  
  ```html
  <script src="//unpkg.com/bmaplib.lushu"></script>
  ```
  
  ## Usage
  
  ### ES Next
  
  ```js
  import LuShu from 'bmaplib.lushu'
  
  // You should use this lib after BaiduMap loaded. For Example:
  
  loadBaiduMap.then(() => {
    new LuShu()
  })
  ```
  
  ### CDN
  
  ```html
  <script src="//api.map.baidu.com/api?v=2.0"></script>
  <script src="//unpkg.com/bmaplib.lushu"></script>
  <script>
    new BMapLib.Lushu()
  </script>
  ```