var myEvents = [
{'id':2159,'gmid':136,'date':'Mar 27 1625','title':'Charles I becomes King of England','dets':'Charles became the first person to succeed to the crown of both England and Scotland. His father James was King of Scotland (James VI) from 1567 and later King of England (James I) from 1603. James was buried at Westminster Abbey.' },
{'id':2238,'gmid':136,'date':'Feb 2 1626','title':'Charles crowned','dets':'Charles I was crowned at Westminster Abbey.' },
{'id':2541,'gmid':223,'date':'Apr 13 1640','title':'The Short Parliament','dets':'Charles I called Parliament to ask for taxes to raise money for war against the Scots. Parliament agreed to grant the King \'twelve subsidies\' on the condition that \'ship money\' was abolished. Ship money was a tax normally imposed at time of war to allow the King to build ships for the defence of the country, but Charles had imposed this tax in peace times without Parliament\'s consent which wa...' },
{'id':2548,'gmid':144,'date':'Sep 24 1640','title':'The Great Council called','dets':'In light the serious Scottish invasion, Charles called a Great Council at York. The Great Council or \'Magnum Concilium\' was a meeting of the King\'s tenants-in-chief and advisors. A Great Council had not been called for several hundred years. Although the meeting agreed to assist the King with a loan it preferred to negotiate with the Scots.' },
{'id':2549,'gmid':104,'date':'Oct 26 1640','title':'The Treaty of Ripon','dets':'The Treaty of Ripon, signed by Charles I, agreed to pay the Scots &pound;850 a day while they held control of Durham and Northumberland.' },
{'id':2537,'gmid':223,'date':'Nov 22 1641','title':'Grand Remonstrance','dets':'Parliament passed the Grand Remonstrance, a list of grievances against King Charles. Parliament was unhappy with the King\'s advisors and wanted the King to allow Parliament to choose who should advise him.' },
{'id':2540,'gmid':223,'date':'Jan 4 1642','title':'Charles attempts arrests','dets':'Charles I, with a small band of soldiers, attempted to arrest key leaders of Parliament including John Pym. When Charles arrived at Westminster he found that the men had already left and had found sanctuary in the city of London. Charles had little support in the city and had little choice but to leave.' },
{'id':2539,'gmid':43,'date':'Feb 23 1642','title':'The Queen looks for support','dets':'Queen Henrietta Maria left the country via Dover looking for support for her husband from abroad. She took the Crown Jewels with her presumably to sell to raise money.' },
{'id':2554,'gmid':251,'date':'Apr 23 1642','title':'Charles refused entry to Hull','dets':'The city of Hull had a large store of weapons and both Parliament and King Charles wanted to take control of it. Parliament had wanted the arms to be shipped to the Tower of London for, they said, use in Ireland against the rebels, but Charles refused. Charles sent his son Prince Rupert to Hull on the 22nd of April and he had been welcomed. When Charles arrived a day later the Governor of Hull...' },
{'id':2262,'gmid':87,'date':'Aug 22 1642','title':'Charles I raises standard at Nottingham Castle','dets':'Charles I declared war by raising his standard at Nottingham Castle.' },
{'id':3511,'gmid':587,'date':'Sep 1642','title':'Prince Rupert at Leicester','dets':'A sum of two thousand pounds was demanded by Prince Rupert from the people in Leicester to save their town from being robed. They only paid 500 pounds and complained to King Charles. The king was unhappy with the Princes\' actions but the money was not handed back. ' },
{'id':2556,'gmid':112,'date':'Sep 20 1642','title':'Charles reaches Shrewsbury','dets':'By the end of September King Charles had reached Shrewsbury where he was warmly greeted.' },
{'id':2557,'gmid':112,'date':'Oct 12 1642','title':'Charles leaves Shrewsbury','dets':'Charles left Shrewsbury and headed south east in the general direction of London. The Earl of Essex learnt of Charles\' movements some days later and moved to intercept the king.' },
{'id':2266,'gmid':588,'date':'Oct 27 1642','title':'Banbury captured by Royalists','dets':'The Royalists led by Charles moved on Banbury. The town surrendered without a fight and the Prince Rupert took control of the nearby Broughton Castle.' },
{'id':2160,'gmid':141,'date':'Nov 4 1642','title':'Prince Rupert attacks Windsor Castle','dets':'In early November Charles took Reading while Prince Rupert was attacking Windsor Castle. Prince Rupert\'s efforts failed so he turned his attention south to Brentford dealing the Parliamentary forces a heavy blow. Charles\' next objective was to take London but the Londoners put an army together. When the Londoners\' army was reinforced with the army of the Earl of Essex there was a standoff. Th...' },
{'id':2558,'gmid':239,'date':'Dec 1642','title':'Winter at Oxford','dets':'Charles sent the winter at his base at Oxford.' },
{'id':2561,'gmid':252,'date':'Feb 22 1643','title':'Queen Henrietta Maria returns','dets':'The Queen returned from Holland, landing at Bridlington on the North Yorkshire coast. She brought with her supplies to assist her husband with his war efforts.' },
{'id':2565,'gmid':215,'date':'Jul 13 1643','title':'Battle of Roundway Down','dets':'Once Charles learnt that Hopton was being held at Devizes, he sent Wilmot to meet up with Prince Maurice and put together a Royalist army to free the town. The Royalists and Parliamentarians met at Roundway Down just north of Devizes. Wilmot was able to drive the Parliamentarians back towards the top of a steep slope where, as the Parliament army fell, many were killed. The slope is now known a...' },
{'id':2560,'gmid':37,'date':'Aug 1643','title':'Corfe Castle rescued','dets':'Corfe Castle was being besieged  by Parliamentary forces. Inside the castle Lady Mary Banks with a small number of defenders had managed to hold the castle against much larger number of men outside. Lady Mary\'s husband, Sir John Banks, was elsewhere with King Charles at the time. Prince Maurice attacked and drove off the Parliamentary besiegers.' },
];

var myMarkers = [
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':223,'latitude': 51.499321, 'longitude': -0.1247719, 'loc': 'Palace of Westminster', 'typ': 0 },
{'gmid':144,'latitude': 53.95605, 'longitude': -1.077984, 'loc': 'York Castle', 'typ': 0 },
{'gmid':104,'latitude': 54.13569, 'longitude': -1.520917, 'loc': 'Ripon Cathedral', 'typ': 0 },
{'gmid':43,'latitude': 51.1273, 'longitude': 1.3229, 'loc': 'Dover Castle', 'typ': 0 },
{'gmid':251,'latitude': 53.749427, 'longitude': -0.33249, 'loc': 'Hull', 'typ': 0 },
{'gmid':87,'latitude': 52.94897, 'longitude': -1.154605, 'loc': 'Nottingham Castle', 'typ': 0 },
{'gmid':587,'latitude': 52.63477, 'longitude': -1.129519, 'loc': 'Leicester, UK', 'typ': 0 },
{'gmid':112,'latitude': 52.71092, 'longitude': -2.75189, 'loc': 'Shrewsbury Castle', 'typ': 0 },
{'gmid':588,'latitude': 52.060021, 'longitude': -1.340449, 'loc': 'Banbury', 'typ': 0 },
{'gmid':141,'latitude': 51.48365, 'longitude': -0.604464, 'loc': 'Windsor Castle', 'typ': 0 },
{'gmid':239,'latitude': 51.75227, 'longitude': -1.25582, 'loc': 'Oxford', 'typ': 0 },
{'gmid':252,'latitude': 54.0831, 'longitude': -1.9222, 'loc': 'Bridlington', 'typ': 0 },
{'gmid':215,'latitude': 51.35078, 'longitude': -1.998515, 'loc': 'Devizes Castle', 'typ': 0 },
{'gmid':37,'latitude': 50.6404, 'longitude': -2.0593, 'loc': 'Corfe Castle', 'typ': 0 },
];

