Add "locationsChanged" event to polyline layer.
Update specs for polyline layer.