Google Maps Polyline Infowindow. For the Google Maps JS API. The definitive solution to your problem is to extend the Polyline class defining the getPosition method.

Opening an info window on a marker will automatically update the position. Tapping into the coding power of migrants and refugees in Mexico. TypeScript This example creates a simple polygon representing the Bermuda Triangle.
For Google Maps Premium.
Tapping into the coding power of migrants and refugees in Mexico. A googlemapsPolyline doesnt have a paths property. The definitive solution to your problem is to extend the Polyline class defining the getPosition method. You may set additional options eg.