OpenLayers sketch handlers crossing the dateline example

international date line, dateline, sketch

Start digitizing a polygon or line on one side of the international dateline, and then cross the dateline whilst digitizing. The feature should behave like digitizing on any other location.