});
/**
* Click to edit the line (and make sure the details are loaded in the edit view
*/
polyline.addPolylineClickHandler(new PolylineClickHandler() {
@Override
public void onClick(PolylineClickEvent event) {
polyline.setEditingEnabled(true);
eventBus.fireEvent(new EditRoadDetailsBySegmentEvent(polyline.getRoadDetailsId()));
}