title: How to Draw Polyline on mapmyindia using React?
body: <p>I am just exploring Mapmyindia.
  I have gone through the basic location display on the map.
  I am not getting how to display polyline on map.</p>
  <p>code for location
  app.js</p>
  <pre><code>import &quot;./App.css&quot;;
  import SideBar from &quot;./componants/SideBar&quot;;
  import Map from &quot;mapmyindia-react&quot;;
  // import MapmyIndia, { MapMarker } from &quot;react-mapmyindia&quot;;
  
  function App() {
    return (
      &lt;div className=&quot;App&quot;&gt;
        Hello
        &lt;Map
          markers={[
            {
              position: [21.1588329, 72.7688111],
              draggable: true,
              zoom: 15,
              title: &quot;Marker title&quot;,
              onClick: (e) =&gt; {
                console.log(&quot;clicked &quot;);
              },
              onDragend: (e) =&gt; {
                console.log(&quot;dragged&quot;);
              },
              onMouseover: (e) =&gt; {
                console.log(&quot;Mouse over&quot;);
              },
            },
          ]}
        /&gt;
        {/* &lt;Map /&gt; */}
        &lt;SideBar&gt;&lt;/SideBar&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  
  
  
  </code></pre>
  <p>Which result this</p>
  <p><a href="https://i.stack.imgur.com/8ixDe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8ixDe.png" alt="enter image description here" /></a></p>
  <p>Now, Please help with drawing polyline.</p>