Difference between revisions of "Team:Manchester/Collaborations"

Line 7: Line 7:
 
<h2 style="text-align: center"><br/><br/><br/><br/>Coming Soon...<br/><br/><br/><br/><br/><br/><br/><br/></h2>
 
<h2 style="text-align: center"><br/><br/><br/><br/>Coming Soon...<br/><br/><br/><br/><br/><br/><br/><br/></h2>
 
</div>
 
</div>
 +
 +
<script src="https://www.amcharts.com/lib/3/ammap.js" type="text/javascript"></script>
 +
<script src="https://www.amcharts.com/lib/3/maps/js/worldHigh.js" type="text/javascript"></script>
 +
<script src="https://www.amcharts.com/lib/3/themes/dark.js" type="text/javascript"></script>
 +
<div id="mapdiv" style="width: 1000px; height: 450px;"></div>
 +
<div style="width: 1000px; font-size: 70%; padding: 5px 0; text-align: center; background-color: #2E69FF; margin-top: 1px; color: #BABABA;"><a href="https://www.amcharts.com/visited_countries/" style="color: #BABABA;">Create your own visited countries map</a> or check out the <a href="https://www.amcharts.com/" style="color: #BABABA;">JavaScript Charts</a>.</div>
 +
<script type="text/javascript">
 +
var map = AmCharts.makeChart("mapdiv",{
 +
type: "map",
 +
theme: "dark",
 +
projection: "mercator",
 +
panEventsEnabled : true,
 +
backgroundColor : "#2E69FF",
 +
backgroundAlpha : 1,
 +
zoomControl: {
 +
zoomControlEnabled : true
 +
},
 +
dataProvider : {
 +
map : "worldHigh",
 +
getAreasFromMap : true,
 +
areas :
 +
[
 +
{
 +
"id": "GB",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "CA",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "US",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "BR",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "CL",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "IN",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "ID",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "JP",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "KR",
 +
"showAsSelected": true
 +
},
 +
{
 +
"id": "AU",
 +
"showAsSelected": true
 +
}
 +
]
 +
},
 +
areasSettings : {
 +
autoZoom : true,
 +
color : "#BABABA",
 +
colorSolid : "#66FF8A",
 +
selectedColor : "#66FF8A",
 +
outlineColor : "#666666",
 +
rollOverColor : "#9EC2F7",
 +
rollOverOutlineColor : "#000000"
 +
}
 +
});
 +
</script>
  
  

Revision as of 18:24, 6 October 2017





Coming Soon...