react-map-gl |
react-map-gl是一组组件,旨在为兼容库提供React API。 在线文档中的更多信息。
请参阅我们的。
安装
使用react-map-gl要求react >= 16.3 。
npm install --save react-map-gl
例
import * as React from 'react' ;
import ReactMapGL from 'react-map-gl' ;
function Map {
const [ viewport , setViewport ] = React . useState ( {
latitud
评论0
最新资源