Directions
The Directions plugin can be used to find directions through several points.
Installation
To add directions search functionality to the Map you need to include the Directions JS file after MapGL API file using unpkg CDN:
<script src="https://unpkg.com/@2gis/mapgl-directions@^2/dist/directions.js"></script>
Or using NPM:
npm install @2gis/mapgl-directions