react-tmap
react-tmap copied to clipboard
在使用Polyline组件无法进行绘制折线,代码如下
let path = [
new qq.maps.LatLng(39.930456,116.387554),
new qq.maps.LatLng(39.929008,116.414162),
new qq.maps.LatLng(39.909786,116.379314),
new qq.maps.LatLng(39.908206,116.416908)
]
<Polyline
path={path}
visible={true}
strokeWeight={5}
editable={false}/>