Closed hopperhuang closed 1 year ago
这个是高德底图的配置,L7 透传的,看一下高德地图有没有生效。
这个是高德底图的配置,L7 透传的,看一下高德地图有没有生效。
亲自在高德的平台上试了一下,发现他们的是可以的。但是,我发现按照这个写法,传给l7的组件是不行的。 又偷偷看了一下大佬们定义的组件,好像没有定义lang这个字段呢。大佬帮忙看看为啥呗。
大佬: 注意一下画红圈的地方。
直接给个链接吧,没找到你这个demo
直接给个链接吧,没找到你这个demo
https://lbs.amap.com/demo/javascript-api/example/map/map-english
试了一下高德地图 V2 不支持,你给的demo 是高德 1.4 的
https://codesandbox.io/s/relaxed-banzai-fn98xl?file=/index.js
代码如下:
实际效果:
依赖版本: "@antv/l7": "^2.17.11", "@antv/l7-maps": "^2.17.11",