text: import { Component } from 'react'
  
  export default class Polyline extends Component {
    renderPolylines () {
      const { markers, map, maps } = this.props
  
      let geodesicPolyline = new maps.Polyline({
        path: markers,
        geodesic: true,
        strokeColor: '#00a1e1',
        strokeOpacity: 1.0,
        strokeWeight: 4
      })
      geodesicPolyline.setMap(map)
  
    
      let nonGeodesicPolyline = new maps.Polyline({
        path: markers,
        geodesic: false,
        strokeColor: '#e4e4e4',
        strokeOpacity: 0.7,
        strokeWeight: 3
      })
      nonGeodesicPolyline.setMap(map)
    }
  
    render () {
      this.renderPolylines()
      return null
    }
  }
  