3G iPhone World Map

Discussion in 'iPhone' started by Marc4, Jun 4, 2008.

  1. Marc4 macrumors member

    Joined:
    Apr 14, 2008
    #1
    HTML:
    <script type="text/javascript" src="http://www.interactivemaps.org/visited_countries/swfobject.php"></script>
    <div id="visitedcountries">
    This application is created by <a href="http://www.interactivemaps.org" target="_blank">interactive maps.</a><br>	You can also have your <a href="http://www.interactivemaps.org/visited_countries/" target="_blank">visited countries map</a> on your site.<br><br>	If you see this message, you need to <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">upgrade your flash player.</a></div>
    
    <script type="text/javascript">
    var so = new SWFObject("http://www.interactivemaps.org/visited_countries/visited_countries.swf", "visitedcountries", 1000, 600, "7", "#000000");
    
    addLocation('BW', '', '', '');	//Botswana 
    addLocation('CM', '', '', '');	//Cameroon 
    addLocation('CF', '', '', '');	//Central African Republic 
    addLocation('EG', '', '', '');	//Egypt 
    addLocation('GQ', '', '', '');	//Equatorial Guinea 
    addLocation('GW', '', '', '');	//Guinea-Bissau 
    addLocation('GN', '', '', '');	//Guinee Conakry 
    addLocation('CI', '', '', '');	//Ivory Coast 
    addLocation('KE', '', '', '');	//Kenya 
    addLocation('MG', '', '', '');	//Madagascar 
    addLocation('ML', '', '', '');	//Mali 
    addLocation('MU', '', '', '');	//Mauritius 
    addLocation('NE', '', '', '');	//Niger 
    addLocation('RE', '', '', '');	//Reunion 
    addLocation('SN', '', '', '');	//Senegal 
    addLocation('ZA', '', '', '');	//South Africa 
    addLocation('IN', '', '', '');	//India 
    addLocation('JP', '', '', '');	//Japan 
    addLocation('PH', '', '', '');	//Philippines 
    addLocation('SG', '', '', '');	//Singapore 
    addLocation('AU', '', '', '');	//Australia 
    addLocation('NZ', '', '', '');	//New Zealand 
    addLocation('DM', '', '', '');	//Dominica 
    addLocation('DO', '', '', '');	//Dominican Republic 
    addLocation('SV', '', '', '');	//El Salvador 
    addLocation('GT', '', '', '');	//Guatemala 
    addLocation('HN', '', '', '');	//Honduras 
    addLocation('JM', '', '', '');	//Jamaica 
    addLocation('MQ', '', '', '');	//Martinique 
    addLocation('NI', '', '', '');	//Nicaragua 
    addLocation('PR', '', '', '');	//Puerto Rico 
    addLocation('KK', '', '', '');	//Saint Kitts and Nevis 
    addLocation('AT', '', '', '');	//Austria 
    addLocation('BE', '', '', '');	//Belgium 
    addLocation('CZ', '', '', '');	//Czech republic 
    addLocation('DK', '', '', '');	//Denmark 
    addLocation('EE', '', '', '');	//Estonia 
    addLocation('FI', '', '', '');	//Finland 
    addLocation('FR', '', '', '');	//France 
    addLocation('DE', '', '', '');	//Germany 
    addLocation('GR', '', '', '');	//Greece 
    addLocation('IE', '', '', '');	//Ireland 
    addLocation('IT', '', '', '');	//Italy 
    addLocation('LV', '', '', '');	//Latvia 
    addLocation('LT', '', '', '');	//Lithuania 
    addLocation('NO', '', '', '');	//Norway 
    addLocation('PL', '', '', '');	//Poland 
    addLocation('PT', '', '', '');	//Portugal 
    addLocation('RO', '', '', '');	//Romania 
    addLocation('SK', '', '', '');	//Slovakia 
    addLocation('ES', '', '', '');	//Spain 
    addLocation('SE', '', '', '');	//Sweden 
    addLocation('CH', '', '', '');	//Switzerland 
    addLocation('UK', '', '', '');	//United Kingdom 
    addLocation('JO', '', '', '');	//Jordan 
    addLocation('TR', '', '', '');	//Turkey 
    addLocation('CA', '', '', '');	//Canada 
    addLocation('US', '', '', '');	//United States 
    addLocation('MX', '', '', '');	//Mexico 
    addLocation('AR', '', '', '');	//Argentina 
    addLocation('BR', '', '', '');	//Brazil 
    addLocation('CL', '', '', '');	//Chile 
    addLocation('CO', '', '', '');	//Colombia 
    addLocation('EC', '', '', '');	//Ecuador 
    addLocation('GF', '', '', '');	//French Guiana 
    addLocation('PY', '', '', '');	//Paraguay 
    addLocation('PE', '', '', '');	//Peru 
    addLocation('UY', '', '', '');	//Uruguay 
    addToFlash();
    
    so.addVariable("stageWidth", 1000);
    so.addVariable("stageHeight", 600);
    so.addVariable("infoOver", "enabled");
    so.addVariable("zoomFunction", "checked");
    so.addVariable("bgColor", "666666");
    so.addVariable("visitedColor", "5EB7DE");
    so.addVariable("notVisitedColor", "CDCDCD");
    so.addVariable("countryBordersColor", "666666");
    so.addVariable("helpTextColor", "000000");
    so.addVariable("helpText", "Mark the area you wish to zoom in");
    
    so.addParam("scale", "noscale");
    so.addParam("salign", "lt");
    
    so.write("visitedcountries");
    </script>
    
    <table width="1000" bgcolor="#333333" border="0" cellspacing="4"><tr><td style="color: #FFFFFF; font-face: Arial; font-size: 12px;">  Make your <a href="http://www.interactivemaps.org/visited_countries" target="_blank" style="color: #FFCC33; font-face: Arial; font-size: 12px;">visited countries map</a></td><td align="right"><a href="http://www.amcharts.com/" target="_blank" style="color: #FFCC33; font-face: Arial; font-size: 12px;">Flash stock charts</a></td></tr></table>
     
  2. Marc4 thread starter macrumors member

    Joined:
    Apr 14, 2008
  3. Drumjim85 macrumors 68030

    Drumjim85

    Joined:
    Oct 7, 2007
    Location:
    DFW, TX
  4. boxgamex macrumors newbie

    Joined:
    May 27, 2008
  5. Marc4 thread starter macrumors member

    Joined:
    Apr 14, 2008
    #5
    Excellent, thank you!
    I was trying to show the countries which have carriers that have already announced iPhone deals, that's all...
     
  6. SFStateStudent macrumors 604

    SFStateStudent

    Joined:
    Aug 28, 2007
    Location:
    San Francisco California, USA
    #6
    You would think China would have something by now, with the Olympics coming up this summer! :(:(:(
     
  7. m-dogg macrumors 65816

    m-dogg

    Joined:
    Mar 15, 2004
    Location:
    Connecticut
    #7
    Nice job Marc4!

    I like how you can see the name of the country offering the iPhone when you mouse over it. a suggestion for improvement though - can you make it show every country's name (and maybe have the box that the name appears in be grey or blue depending on status)? As I moused around the map, it made me curious what some of the countries on the map were that do not have the iPhone available (especially when most around it did have it).
     
  8. Niiro13 macrumors 68000

    Joined:
    Feb 12, 2008
    Location:
    Illinois
    #8
    Nice, nice.

    Can you add under the country's name what carrier won? :)
     
  9. Chundles macrumors G4

    Chundles

    Joined:
    Jul 4, 2005
    #9
    What if no carriers won? We're going to have at least two official carriers here if not more. We'll most likely have unlocked phones as well like every other phone here that can be sold and put onto any network.
     
  10. Drumjim85 macrumors 68030

    Drumjim85

    Joined:
    Oct 7, 2007
    Location:
    DFW, TX

Share This Page