var myEvents = [
{'id':1541,'gmid':141,'date':'Nov 1312','title':'Future Edward III is born','dets':'Edward the future king of England was born at Windsor Castle and was known as Edward Windsor.' },
{'id':1604,'gmid':223,'date':'Nov 1325','title':'Edward commands Isabella to return','dets':'At a Parliament called to discuss the situation in France, it was decided to send a petition to Isabella for her return to England. She refused. In France, her brother the King had become annoyed with Isabella\'s conduct. Isabella left France and went to the court of William II, Count of Hainault who assisted her with preparations to invade England. A promise was made to marry Prince Edward, no...' },
{'id':1037,'gmid':290,'date':'Oct 1326','title':'Prince Edward is declared Keeper of the Realm','dets':'Isabella entered Bristol and was welcomed by the citizens there. The Earl of Winchester who had taken to the castle decided the best action was surrender. He was executed on the 27th of October as a traitor.' },
{'id':726,'gmid':136,'date':'Jan 1327','title':'Edward III takes the throne','dets':'Henry III succeeds to the throne and is crowned at Westminster.' },
{'id':686,'gmid':145,'date':'Jan 24 1328','title':'Edward III marries','dets':'Edward married Philippa of Hainault at York Minster. The marriage was arranged as many were at the time. The arrangement was organised as early as 1323, when she was not nine years old. The Bishop of Exeter visited Hainault to see the girl.' },
{'id':1780,'gmid':111,'date':'1330','title':'Sherborne Castle is given to the Earl of Salisbury','dets':'Edward III gave the castle at Sherborne to the Earl of Salisbury.' },
{'id':1880,'gmid':142,'date':'Jun 15 1330','title':'Edward (the Black Prince) is born','dets':'Edward was born at the royal manor of Woodstock.' },
{'id':2918,'gmid':87,'date':'Oct 19 1330','title':'Arrest of Mortimer','dets':'Edward III ordered the arrest of Roger Mortimer. The King and some loyal supporters entered Nottingham Castle via a secret passage in the rocks and Roger Mortimer was arrested.' },
{'id':1694,'gmid':223,'date':'Nov 29 1330','title':'Execution of Roger Mortimer','dets':'Mortimer was tried before Parliament and executed.' },
{'id':692,'gmid':305,'date':'Sep 24 1332','title':'Balliol crowned king of Scotland','dets':'Edward Balliol was crowned king of Scotland at Scone but was quickly forced over the border back to England prompting Edward III\'s assaults.' },
{'id':2428,'gmid':203,'date':'Mar 18 1333','title':'Earl of Chester','dets':'Edward (the Black Prince) was given the title Earl of Chester on this day.' },
{'id':693,'gmid':236,'date':'Jul 19 1333','title':'Battle of Halidon Hill','dets':'Edward had positioned his army on Halidon Hill overlooking Berwick which he had under siege. He choose the location because it allowed him to look out for the Scots who may try and relieve the Scottish who were besieged with the town. A Scottish force tried to get to Berwick put were defeated by Edward\'s army. Edward III\'s attacks on Scotland and victory at Halidon Hill put Edward Balliol back o...' },
{'id':2502,'gmid':236,'date':'Jul 20 1333','title':'Berwick surrenders to the English','dets':'After the defeat of their relief force at Haildon Hill the day before the Scots holding out in Berwick had no option but surrender to the English and Edward III.' },
{'id':1563,'gmid':119,'date':'Aug 1337','title':'Edward rescues Stirling Castle','dets':'Edward III reaches Stirling Castle with supplies to assist the English garrison there that was under siege from Sir Andrew Moray.' },
{'id':1979,'gmid':309,'date':'Jul 1338','title':'Edward invades France','dets':'Edward crossed to Antwerp and attempted an invasion of France.' },
{'id':2430,'gmid':309,'date':'Nov 29 1338','title':'Lionel born to Queen Philippa','dets':'Queen Philippa gave birth to another son. The child was born in Antwerp.' },
{'id':1883,'gmid':223,'date':'Mar 29 1340','title':'Edward raises taxes','dets':'Parliament agreed to raise taxes so that Edward could fund an army to invade France.' },
{'id':1911,'gmid':127,'date':'Nov 1340','title':'Edward dismisses his Chancellor','dets':'Edward travelled back to England and came ashore at the Tower of London. He was horrified to find the castle unguarded. His anger did not stop with those in charge at the Tower. Edward sacked many of his advisors including the Chancellor, John Stratford, the Archbishop of Canterbury.' },
{'id':1909,'gmid':223,'date':'Spring 1341','title':'Edward raises funds','dets':'To raise funds for further French expeditions Edward had to confront Parliament. Parliament insisted that Edward reconfirmed various ancient charters.' },
{'id':1913,'gmid':313,'date':'Dec 1342','title':'Siege of Vannes','dets':'Edward had to control Vannes if he was to hold Brittany and he laid siege to the city. The city did not fall to the English.' },
{'id':2018,'gmid':141,'date':'Jan 19 1344','title':'First Round Table at Windsor','dets':'A jousting tournament at Windsor castle may have been the time of the creation of the Order of the Garter based on the King Arthur\'s knights of the Round Table. The formal creation of the Order occurred in 1348.' },
{'id':2434,'gmid':224,'date':'Jan 1 1346','title':'Edward III orders an invasion fleet','dets':'Edward III gave the order that an invasion fleet should be assembled at Portsmouth harbour.' },
{'id':2436,'gmid':224,'date':'Jul 5 1346','title':'Edward departs from Southampton','dets':'Edward III\'s invasion fleet finally left harbour, delayed by bad weather earlier in the year. Estimates of the number of men Edward took with him vary but could have been around 20,000. This would have required hundreds of ships to transport them all.' },
{'id':2435,'gmid':314,'date':'Jul 12 1346','title':'Edward III lands in Normandy','dets':'Edward\'s invasion fleet landed on the north west coast of  Normandy at Saint-Vaast de la Hougue on the Cotentin Peninsula (also known as the Cherbourg Peninsula). Edward stayed there for several days while the large army came ashore.' },
{'id':751,'gmid':278,'date':'Sep 4 1346','title':'Siege of Calais','dets':'Edward III began the siege of Calais that would last for almost a year. The governor of the town was man called Jean de Vienne. Edward demanded that the town should surrender but de Vienne refused, hoping that the town walls would hold the English out until Philippe VI could come to their rescue. The English set up camp around the town and arranged for supplies to be brought from England. Woode...' },
{'id':894,'gmid':278,'date':'Aug 1347','title':'Calais captured by the English','dets':'Philippe VI finally arrived at Calais and challenged Edward III to a fight. Edward agreed but instead Philippe withdrew abandoning the town to the English. The governor, Jean de Vienne, had no other option other than to surrender the town to Edward. The town\'s leaders should have been executed according to siege rules because they refused to surrender when first asked, but Edward spared thei...' },
{'id':1671,'gmid':127,'date':'1348','title':'Water gate built at Tower of London','dets':'Edward III had a water gate constructed at the base of the Cradle Tower. This allowed access to royal apartments directly from the river.' },
{'id':2019,'gmid':141,'date':'Apr 23 1348','title':'Creation of the Order of the Garter','dets':'On St. George\'s Day at Windsor Castle, the Order of the Garter was created. The initial Knights of the Order were: The King (Edward III); the Prince of Wales (The Black Prince); Henry, Earl (afterwards Duke) of Lancaster; Thomas Beauchamp, 3rd Earl of Warwick; the Captal of Buch; Ralph, Lord Stafford; Motacute, Earl of Salisbury; Sir Roger Mortimer; Sir John (afterward Lord) Lisle; Sir Bartholome...' },
{'id':2706,'gmid':24,'date':'1355','title':'Carisbrooke Castle passes to Isabel ','dets':'After the death of Isabella de Fortibus in 1293 the castle became the property of Edward I and the crown. In 1355 Edward III granted the ownership of the castle to his daughter Isabel.' },
{'id':2444,'gmid':142,'date':'Jan 7 1355','title':'Birth of Thomas of Woodstock','dets':'Thomas of Woodstock was born to Philippa and Edward III.' },
{'id':3570,'gmid':278,'date':'Oct 1355','title':'Edward III travels to Calais','dets':'Edward III landed in Calais. His plan was to lay waste to the northern lands owned by France.' },
{'id':3281,'gmid':115,'date':'Oct 1356','title':'King John at St. Albans','dets':'King John of France was held prisoner at St. Alban\'s monastery after being captured at Poitiers.\n' },
{'id':2439,'gmid':141,'date':'Apr 23 1358','title':'A Splendid Tournament at Windsor','dets':'To celebrate St. George\'s day Edward III held a large tournament at Windsor Castle. Edward, the Black Prince, oversaw the proceedings in which kings and nobles from all over Europe were given safe passage to take part in.' },
{'id':873,'gmid':278,'date':'May 1360','title':'Treaty of Bretigny','dets':'The treaty of Bretigny brought a period of peace for nine years during the Hundred Years War. The treaty was arranged between the Black Prince and the dauphin (later Charles V of France) before being approved by Edward III of England and King John of France. As part of the treaty Edward was given control of the areas of Gascony, Calais and Ponthieu as long as he agreed to give up his claim for th...' },
{'id':2732,'gmid':278,'date':'Oct 1360','title':'Treaty agreed','dets':'At Calais Edward III and King John of France, who had be released from captivity, signed the Treaty of Bretigny.' },
{'id':2450,'gmid':223,'date':'Jun 3 1369','title':'Edward III restates claim for French throne','dets':'The English Parliament freed Edward III from the Treaty of Bretigny that was signed in 1360. When Edward signed the treaty he had agreed to give up the claim for the French throne. Now that Edward was free from the treaty he was able to restate and pursue his claim to be the French King.' },
];

var myMarkers = [
{'gmid':141,'latitude': 51.48365, 'longitude': -0.604464, 'loc': 'Windsor Castle', 'typ': 0 },
{'gmid':223,'latitude': 51.499321, 'longitude': -0.1247719, 'loc': 'Palace of Westminster', 'typ': 0 },
{'gmid':290,'latitude': 51.455313, 'longitude': -2.591902, 'loc': 'Bristol', 'typ': 0 },
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':145,'latitude': 53.96329, 'longitude': -1.083921, 'loc': 'York Minster', 'typ': 0 },
{'gmid':111,'latitude': 50.94955, 'longitude': -2.502458, 'loc': 'Sherborne Old Castle', 'typ': 0 },
{'gmid':142,'latitude': 51.84867, 'longitude': -1.356403, 'loc': 'Woodstock', 'typ': 0 },
{'gmid':87,'latitude': 52.94897, 'longitude': -1.154605, 'loc': 'Nottingham Castle', 'typ': 0 },
{'gmid':305,'latitude': 56.4179, 'longitude': -3.404037, 'loc': 'Scone', 'typ': 0 },
{'gmid':203,'latitude': 53.19189, 'longitude': -2.89044, 'loc': 'Chester', 'typ': 0 },
{'gmid':236,'latitude': 55.7734, 'longitude': -2.01248, 'loc': 'Berwick Castle', 'typ': 0 },
{'gmid':119,'latitude': 56.12283, 'longitude': -3.946983, 'loc': 'Stirling Castle', 'typ': 0 },
{'gmid':309,'latitude': 51.22058, 'longitude': 4.399722, 'loc': 'Antwerp, Belgium', 'typ': 0 },
{'gmid':127,'latitude': 51.5076, 'longitude': -0.0763, 'loc': 'Tower of London', 'typ': 0 },
{'gmid':313,'latitude': 47.654903, 'longitude': -2.759521, 'loc': 'Vannes, France', 'typ': 0 },
{'gmid':224,'latitude': 50.799259, 'longitude': -1.091819, 'loc': 'Portsmouth', 'typ': 0 },
{'gmid':314,'latitude': 49.5876, 'longitude': -1.2681, 'loc': 'Saint-Vaast-la-Hougue, France', 'typ': 0 },
{'gmid':278,'latitude': 50.957922, 'longitude': 1.852514, 'loc': 'Calais, France', 'typ': 0 },
{'gmid':24,'latitude': 50.6878, 'longitude': -1.312, 'loc': 'Carisbrooke Castle', 'typ': 0 },
{'gmid':115,'latitude': 51.7509, 'longitude': -0.34272, 'loc': 'St. Albans Cathedral', 'typ': 0 },
];

