uiwjs / react-amap

基于 React 封装的高德地图组件,帮助你轻松的接入地图到 React 项目中。
https://uiwjs.github.io/react-amap
MIT License
403 stars 64 forks source link

能用1.0吗? #362

Open starInEcust opened 1 month ago

starInEcust commented 1 month ago
 我看不是能选版本号,能用1吗? 产品说要用英文地图,2.0没有...
 <APILoader
        version="1.0"
        akey="0e42491f2fb9a2adb0d6efa2418"
      >
jaywcjlove commented 1 month ago

https://github.com/uiwjs/react-amap/blob/1a7400a1aee9c18346c2fcbcd06c4cb80d37b1df/packages/api-loader/src/index.tsx#L7-L25

没有测试过,但是可以指定版本加载 SDK,估计🉐有问题吧 @starInEcust