anychart.onDocumentReady(function() {
var data = anychart.data.set([
{points: [51.5, -3.2, 57.1, -2.19], from: "Cardiff", to: "Aberdeen", time: "2h 20m"},
{points: [55.9, -3.2, 51.45, 0], from: "Edinburgh", to: "London", time: "1h 15m"},
{points: [54.7, -5.9, 57.6,-3.9], from: "Dublin", to: "Iverness", time: "2h 35m"}
var series = map.connector(data);
map.geoData(anychart.maps['united_kingdom']);
series.stroke("#CCCC99");
series.hoverFill("#996633");
series.selectFill("#996633");
series.hoverStroke("#CCCC99");
series.selectStroke("#CCCC99");
map.title("Settings the markers");
series.tooltip().format("A flight from {%from} to {%to} takes at least {%time}");
var markers = series.markers();
markers.type(anychart.enums.MarkerType.ARROWHEAD);
markers.anchor("leftCenter");
map.container('container');