How to create Polyline using react-google-maps library
问题 I am trying to plot Polyline between 4 GPS coordinates using react-google-maps library. Nothing is rendering on the map import React from 'react'; import { withGoogleMap, GoogleMap, Marker, InfoWindow,Polyline } from 'react-google-maps'; class googleMapComponent extends React.Component { //Higher order components: withGoogleMap is employed as a function call. This fucntion returns another component defination which is later mounted in render // maintain a refernce to a map inside the