react native中npm上的Google地图是否有可用的软件包。我想使用google.maps.Bounds,google.maps.Point,google.maps.LatLngBounds,google.maps.Marker,google.maps.LatLng来使我在反应本机地图中绘制一条弯曲的折线,如下面的图像,如How to make a dashed curved polyline in Google Maps JS API?中所述。
我发现可以通过npm安装此react-native-maps library。该库包含不同的Google Maps API组件,例如Map View,Markers,Polyline和more。
react-native-maps
要开始使用,可以查看安装说明here
我希望这会有所帮助!