Polyline and marker displayed at different position

Polyline and marker displayed at different position, how can I align it at the same position.