react-map-gl-directions:react-map-gl-directions是Mapbox GL Directions的React包装器,可与react-map-gl一起使用

时间:2024-06-11 22:03:38
【文件属性】:

文件名称:react-map-gl-directions:react-map-gl-directions是Mapbox GL Directions的React包装器,可与react-map-gl一起使用

文件大小:1.67MB

文件格式:ZIP

更新时间:2024-06-11 22:03:38

react react-mapbox-gl mapbox deckgl react-map-gl

react-map-gl-directions | react-map-gl-directions是的包装器,与。 目录 安装 使用react-map-gl-directions需要react >= 16.3 。 npm install --save react-map-gl-directions 造型风格 进口: import 'react-map-gl-directions/dist/mapbox-gl-directions.css' 或者 标头中的链接标签: < link href =" https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-directions/v4.0.0/mapbox-gl-directions.css " rel =" stylesheet " /> 特征 仅需要mapRef和m


【文件预览】:
react-map-gl-directions-master
----.eslintrc(132B)
----src()
--------index.js(4KB)
----LICENSE(1KB)
----.prettierrc(132B)
----README.md(12KB)
----.gitignore(312B)
----react-map-gl-directions.gif(1.61MB)
----package-lock.json(260KB)
----package.json(2KB)

网友评论