Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added initial repo.

  • Loading branch information...
commit ded792bfa6415666a46be3dd0a949e5c4877dfd0 0 parents
Massimiliano Marcon authored
16 README.md
Source Rendered
... ... @@ -0,0 +1,16 @@
  1 +# Find your Tile
  2 +**Find your Tile** shows how the cool features offered by HTML5 and related standard can be leveraged to develop simple gaming experiences for the users.
  3 +
  4 +## The game
  5 +In **Find your Tile** 3 map tiles (satellite view) are shown to the user. One of them is centered on the user's current location. The others are randomly generated from a list of more than 600 cities in the world.
  6 +
  7 +The player has to pick the tile she thinks corresponds to her location. If the answer is wrong then the game provides a link to the Wikipedia page corresponding to the city that was mistakenly selected.
  8 +
  9 +![image](https://raw.github.com/mmarcon/findtile/master/doc/wrong.png)
  10 +
  11 +## Geeky info
  12 +The little game uses the location API (which is **not part of the HTML5 standard**) to determine the user's geolocation.
  13 +
  14 +When the location has been determined a map tile is retrieved and inserted as image into the DOM by using the [RESTful Maps API](http://api.maps.nokia.com/en/restmaps/api.html) provided by [Nokia Maps](http://maps.nokia.com). The other 2 tiles are generated by picking 2 cities from a static list in JSON format.
  15 +
  16 +The tiles are animated using only CSS3, and no jQuery has been used for this demo.
64 css/normalize.css
... ... @@ -0,0 +1,64 @@
  1 +/*------------------------------------*\
  2 + RESET
  3 +\*------------------------------------*/
  4 +/* http://meyerweb.com/eric/tools/css/reset/
  5 + v2.0b1 | 201101
  6 + NOTE:WORK IN PROGRESS
  7 + USE WITH CAUTION AND TEST WITH ABANDON */
  8 +
  9 +html,body,div,span,applet,object,iframe,
  10 +h1,h2,h3,h4,h5,h6,p,blockquote,pre,
  11 +a,abbr,acronym,address,big,cite,code,
  12 +del,dfn,em,img,ins,kbd,q,s,samp,
  13 +small,strike,strong,sub,sup,tt,var,
  14 +b,u,i,center,
  15 +dl,dt,dd,ol,ul,li,
  16 +fieldset,form,label,legend,
  17 +table,caption,tbody,tfoot,thead,tr,th,td,
  18 +article,aside,canvas,details,figcaption,figure,
  19 +footer,header,hgroup,menu,nav,section,summary,
  20 +time,mark,audio,video{
  21 + margin:0;
  22 + padding:0;
  23 + border:0;
  24 + outline:0;
  25 + font-size:100%;
  26 + font:inherit;
  27 + vertical-align:baseline;
  28 +}
  29 +/* HTML5 display-role reset for older browsers */
  30 +article,aside,details,figcaption,figure,
  31 +footer,header,hgroup,menu,nav,section{
  32 + display:block;
  33 +}
  34 +body{
  35 + line-height:1;
  36 +}
  37 +ol,ul{
  38 + list-style:none;
  39 +}
  40 +blockquote,q{
  41 + quotes:none;
  42 +}
  43 +blockquote:before,blockquote:after,
  44 +q:before,q:after{
  45 + content:'';
  46 + content:none;
  47 +}
  48 +/* remember to define visible focus styles!
  49 +:focus{
  50 + outline:?????;
  51 +} */
  52 +
  53 +/* remember to highlight inserts somehow! */
  54 +ins{
  55 + text-decoration:none;
  56 +}
  57 +del{
  58 + text-decoration:line-through;
  59 +}
  60 +
  61 +table{
  62 + border-collapse:collapse;
  63 + border-spacing:0;
  64 +}
58 css/style.css
... ... @@ -0,0 +1,58 @@
  1 +/*
  2 + * Copyright 2012 Massimiliano Marcon (http://marcon.me)
  3 + *
  4 + * Licensed under the Apache License, Version 2.0 (the "License");
  5 + * you may not use this file except in compliance with the License.
  6 + * You may obtain a copy of the License at
  7 + *
  8 + * http://www.apache.org/licenses/LICENSE-2.0
  9 + *
  10 + * Unless required by applicable law or agreed to in writing, software
  11 + * distributed under the License is distributed on an "AS IS" BASIS,
  12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing permissions and
  14 + * limitations under the License.
  15 + */
  16 +
  17 +@import url(http://fonts.googleapis.com/css?family=Londrina+Outline|McLaren);
  18 +
  19 +body {
  20 + font-family: 'McLaren', cursive;
  21 + font-weight: 100;
  22 + font-size: 14px;
  23 + background-color: #fff;
  24 +}
  25 +
  26 +h2 {
  27 + position: fixed;
  28 + right: 10px;
  29 + bottom: 0;
  30 + background-color: #222;
  31 + color: white;
  32 + line-height: 1.5;
  33 + padding: 5px;
  34 + font-size: 12px;
  35 +}
  36 +
  37 +a:link,
  38 +a:visited,
  39 +a:active {
  40 + text-decoration: none;
  41 + color: #4169e1;
  42 +}
  43 +
  44 +a:hover {
  45 + color: #6495ED;
  46 +}
  47 +
  48 +#map {
  49 + width: 400px;
  50 + height: 400px;
  51 + position: absolute;
  52 + top: 50%;
  53 + left: 50%;
  54 + margin: -205px 0 0 -205px;
  55 + border: 10px solid #fff;
  56 + box-shadow: 0 0 8px #ccc;
  57 + border-radius: 4px;
  58 +}
3,712 data/cities.json
... ... @@ -0,0 +1,3712 @@
  1 +[
  2 + {
  3 + "city": "Aarhus",
  4 + "lat": 56.149628,
  5 + "lon": 10.213405,
  6 + "wikipedia": "Aarhus"
  7 + },
  8 + {
  9 + "city": "Aberdeen",
  10 + "lat": 57.145245,
  11 + "lon": -2.091374,
  12 + "wikipedia": "Aberdeen"
  13 + },
  14 + {
  15 + "city": "Abidjan",
  16 + "lat": 5.336004,
  17 + "lon": -4.027002,
  18 + "wikipedia": "Abidjan"
  19 + },
  20 + {
  21 + "city": "Abu Dhabi",
  22 + "lat": 24.474796,
  23 + "lon": 54.370576,
  24 + "wikipedia": "Abu_Dhabi"
  25 + },
  26 + {
  27 + "city": "Abuja",
  28 + "lat": 9.06433,
  29 + "lon": 7.489297,
  30 + "wikipedia": "Abuja"
  31 + },
  32 + {
  33 + "city": "Accra",
  34 + "lat": 5.560014,
  35 + "lon": -0.205744,
  36 + "wikipedia": "Accra"
  37 + },
  38 + {
  39 + "city": "Adak",
  40 + "lat": 51.864961,
  41 + "lon": -176.64092,
  42 + "wikipedia": "Adak,_Alaska"
  43 + },
  44 + {
  45 + "city": "Adamstown",
  46 + "lat": 40.241695,
  47 + "lon": -76.061391,
  48 + "wikipedia": "Adamstown,_Pitcairn_Islands"
  49 + },
  50 + {
  51 + "city": "Adana",
  52 + "lat": 37.265111,
  53 + "lon": 35.563083,
  54 + "wikipedia": "Adana"
  55 + },
  56 + {
  57 + "city": "Addis Ababa",
  58 + "lat": 9.010793,
  59 + "lon": 38.761252,
  60 + "wikipedia": "Addis_Ababa"
  61 + },
  62 + {
  63 + "city": "Adelaide",
  64 + "lat": -34.92711,
  65 + "lon": 138.60066,
  66 + "wikipedia": "Adelaide"
  67 + },
  68 + {
  69 + "city": "Agartala",
  70 + "lat": 23.832615,
  71 + "lon": 91.282629,
  72 + "wikipedia": "Agartala"
  73 + },
  74 + {
  75 + "city": "Ahmedabad",
  76 + "lat": 23.022371,
  77 + "lon": 72.598901,
  78 + "wikipedia": "Ahmedabad"
  79 + },
  80 + {
  81 + "city": "Albuquerque",
  82 + "lat": 35.105308,
  83 + "lon": -106.64757,
  84 + "wikipedia": "Albuquerque,_New_Mexico"
  85 + },
  86 + {
  87 + "city": "Alexandria",
  88 + "lat": 43.65492,
  89 + "lon": -97.780691,
  90 + "wikipedia": "Alexandria"
  91 + },
  92 + {
  93 + "city": "Algiers",
  94 + "lat": 28.000027,
  95 + "lon": 2.999982,
  96 + "wikipedia": "Algiers"
  97 + },
  98 + {
  99 + "city": "Almaty",
  100 + "lat": 43.238991,
  101 + "lon": 76.945347,
  102 + "wikipedia": "Almaty"
  103 + },
  104 + {
  105 + "city": "Alofi",
  106 + "lat": -19.055544,
  107 + "lon": -169.889648,
  108 + "wikipedia": "Alofi"
  109 + },
  110 + {
  111 + "city": "Ambon",
  112 + "lat": -3.694032,
  113 + "lon": 128.176626,
  114 + "wikipedia": "Ambon,_Maluku"
  115 + },
  116 + {
  117 + "city": "Amman",
  118 + "lat": 31.951569,
  119 + "lon": 35.923962,
  120 + "wikipedia": "Amman"
  121 + },
  122 + {
  123 + "city": "Amritsar",
  124 + "lat": 31.530285,
  125 + "lon": 74.861137,
  126 + "wikipedia": "Amritsar"
  127 + },
  128 + {
  129 + "city": "Amsterdam",
  130 + "lat": 52.36687,
  131 + "lon": 4.888501,
  132 + "wikipedia": "Amsterdam"
  133 + },
  134 + {
  135 + "city": "Anadyr (town)",
  136 + "lat": 64.731688,
  137 + "lon": 177.506092,
  138 + "wikipedia": "Anadyr_(town)"
  139 + },
  140 + {
  141 + "city": "Anchorage",
  142 + "lat": 61.148335,
  143 + "lon": -149.19472,
  144 + "wikipedia": "Anchorage,_Alaska"
  145 + },
  146 + {
  147 + "city": "Ankara",
  148 + "lat": 39.798957,
  149 + "lon": 32.581775,
  150 + "wikipedia": "Ankara"
  151 + },
  152 + {
  153 + "city": "Antananarivo",
  154 + "lat": -18.910012,
  155 + "lon": 47.525581,
  156 + "wikipedia": "Antananarivo"
  157 + },
  158 + {
  159 + "city": "Antofagasta",
  160 + "lat": -23.646383,
  161 + "lon": -70.397987,
  162 + "wikipedia": "Antofagasta"
  163 + },
  164 + {
  165 + "city": "Antwerp",
  166 + "lat": 51.229675,
  167 + "lon": 4.7199,
  168 + "wikipedia": "Antwerp"
  169 + },
  170 + {
  171 + "city": "Apia",
  172 + "lat": 5.137754,
  173 + "lon": -75.953573,
  174 + "wikipedia": "Apia"
  175 + },
  176 + {
  177 + "city": "Arbil",
  178 + "lat": 36.19097,
  179 + "lon": 44.008116,
  180 + "wikipedia": "Arbil"
  181 + },
  182 + {
  183 + "city": "Arequipa",
  184 + "lat": -15.843437,
  185 + "lon": -72.474924,
  186 + "wikipedia": "Arequipa"
  187 + },
  188 + {
  189 + "city": "Ashgabat",
  190 + "lat": 37.937994,
  191 + "lon": 58.385667,
  192 + "wikipedia": "Ashgabat"
  193 + },
  194 + {
  195 + "city": "Asmara",
  196 + "lat": 15.338776,
  197 + "lon": 38.932654,
  198 + "wikipedia": "Asmara"
  199 + },
  200 + {
  201 + "city": "Assis",
  202 + "lat": -22.601066,
  203 + "lon": -50.420324,
  204 + "wikipedia": "Assis"
  205 + },
  206 + {
  207 + "city": "Astana",
  208 + "lat": 51.174997,
  209 + "lon": 71.430893,
  210 + "wikipedia": "Astana"
  211 + },
  212 + {
  213 + "city": "Athens",
  214 + "lat": 33.959597,
  215 + "lon": -83.376678,
  216 + "wikipedia": "Athens"
  217 + },
  218 + {
  219 + "city": "Atlanta",
  220 + "lat": 33.749099,
  221 + "lon": -84.390185,
  222 + "wikipedia": "Atlanta"
  223 + },
  224 + {
  225 + "city": "Auckland",
  226 + "lat": -36.589858,
  227 + "lon": 174.844028,
  228 + "wikipedia": "Auckland"
  229 + },
  230 + {
  231 + "city": "Austin",
  232 + "lat": 30.267447,
  233 + "lon": -97.742562,
  234 + "wikipedia": "Austin,_Texas"
  235 + },
  236 + {
  237 + "city": "Avarua",
  238 + "lat": -21.207474,
  239 + "lon": -159.770814,
  240 + "wikipedia": "Avarua"
  241 + },
  242 + {
  243 + "city": "Baghdad",
  244 + "lat": 33.302425,
  245 + "lon": 44.378799,
  246 + "wikipedia": "Baghdad"
  247 + },
  248 + {
  249 + "city": "Baku",
  250 + "lat": 40.366462,
  251 + "lon": 49.835305,
  252 + "wikipedia": "Baku"
  253 + },
  254 + {
  255 + "city": "Balikpapan",
  256 + "lat": -6.170798,
  257 + "lon": 106.812982,
  258 + "wikipedia": "Balikpapan"
  259 + },
  260 + {
  261 + "city": "Baltimore",
  262 + "lat": 39.301014,
  263 + "lon": -76.610717,
  264 + "wikipedia": "Baltimore"
  265 + },
  266 + {
  267 + "city": "Bamako",
  268 + "lat": 12.650008,
  269 + "lon": -8.000001,
  270 + "wikipedia": "Bamako"
  271 + },
  272 + {
  273 + "city": "Banda Aceh",
  274 + "lat": 5.555408,
  275 + "lon": 95.314609,
  276 + "wikipedia": "Banda_Aceh"
  277 + },
  278 + {
  279 + "city": "Bandar Seri Begawan",
  280 + "lat": 4.896801,
  281 + "lon": 114.946215,
  282 + "wikipedia": "Bandar_Seri_Begawan"
  283 + },
  284 + {
  285 + "city": "Bandung",
  286 + "lat": -2.141687,
  287 + "lon": 101.029885,
  288 + "wikipedia": "Bandung"
  289 + },
  290 + {
  291 + "city": "Bangalore",
  292 + "lat": 12.972496,
  293 + "lon": 77.584434,
  294 + "wikipedia": "Bangalore"
  295 + },
  296 + {
  297 + "city": "Bangkok",
  298 + "lat": 13.770842,
  299 + "lon": 100.62304,
  300 + "wikipedia": "Bangkok"
  301 + },
  302 + {
  303 + "city": "Bangui",
  304 + "lat": 4.361977,
  305 + "lon": 18.582808,
  306 + "wikipedia": "Bangui"
  307 + },
  308 + {
  309 + "city": "Banjul",
  310 + "lat": 13.453514,
  311 + "lon": -16.575061,
  312 + "wikipedia": "Banjul"
  313 + },
  314 + {
  315 + "city": "Barcelona",
  316 + "lat": 41.62266,
  317 + "lon": 2.066844,
  318 + "wikipedia": "Barcelona"
  319 + },
  320 + {
  321 + "city": "Barranquilla",
  322 + "lat": 10.980133,
  323 + "lon": -74.826452,
  324 + "wikipedia": "Barranquilla"
  325 + },
  326 + {
  327 + "city": "Basra",
  328 + "lat": 30.502804,
  329 + "lon": 47.834223,
  330 + "wikipedia": "Basra"
  331 + },
  332 + {
  333 + "city": "Basse-Terre",
  334 + "lat": 16.159578,
  335 + "lon": -61.679658,
  336 + "wikipedia": "Basse-Terre"
  337 + },
  338 + {
  339 + "city": "Basseterre",
  340 + "lat": 17.296092,
  341 + "lon": -62.722301,
  342 + "wikipedia": "Basseterre"
  343 + },
  344 + {
  345 + "city": "Batticaloa",
  346 + "lat": 7.710384,
  347 + "lon": 81.694452,
  348 + "wikipedia": "Batticaloa"
  349 + },
  350 + {
  351 + "city": "Beijing",
  352 + "lat": 40.184971,
  353 + "lon": 116.409844,
  354 + "wikipedia": "Beijing"
  355 + },
  356 + {
  357 + "city": "Beirut",
  358 + "lat": 33.899327,
  359 + "lon": 35.469029,
  360 + "wikipedia": "Beirut"
  361 + },
  362 + {
  363 + "city": "Belfast",
  364 + "lat": 44.425909,
  365 + "lon": -69.006423,
  366 + "wikipedia": "Belfast"
  367 + },
  368 + {
  369 + "city": "Belgrade",
  370 + "lat": 44.646635,
  371 + "lon": 20.417367,
  372 + "wikipedia": "Belgrade"
  373 + },
  374 + {
  375 + "city": "Belize City",
  376 + "lat": 17.495212,
  377 + "lon": -88.201744,
  378 + "wikipedia": "Belize_City"
  379 + },
  380 + {
  381 + "city": "Belmopan",
  382 + "lat": 17.250283,
  383 + "lon": -88.769426,
  384 + "wikipedia": "Belmopan"
  385 + },
  386 + {
  387 + "city": "Bergen",
  388 + "lat": 60.394973,
  389 + "lon": 5.32696,
  390 + "wikipedia": "Bergen"
  391 + },
  392 + {
  393 + "city": "Berlin",
  394 + "lat": 52.501475,
  395 + "lon": 13.402304,
  396 + "wikipedia": "Berlin"
  397 + },
  398 + {
  399 + "city": "Bern",
  400 + "lat": 46.806334,
  401 + "lon": 7.651328,
  402 + "wikipedia": "Bern"
  403 + },
  404 + {
  405 + "city": "Bilbao",
  406 + "lat": 43.262964,
  407 + "lon": -2.934948,
  408 + "wikipedia": "Bilbao"
  409 + },
  410 + {
  411 + "city": "Birkirkara",
  412 + "lat": 35.901611,
  413 + "lon": 14.460675,
  414 + "wikipedia": "Birkirkara"
  415 + },
  416 + {
  417 + "city": "Birmingham",
  418 + "lat": 33.630515,
  419 + "lon": -86.714988,
  420 + "wikipedia": "Birmingham"
  421 + },
  422 + {
  423 + "city": "Bishkek",
  424 + "lat": 42.876723,
  425 + "lon": 74.607038,
  426 + "wikipedia": "Bishkek"
  427 + },
  428 + {
  429 + "city": "Bissau",
  430 + "lat": 11.871034,
  431 + "lon": -15.610282,
  432 + "wikipedia": "Bissau"
  433 + },
  434 + {
  435 + "city": "Blantyre",
  436 + "lat": -15.786254,
  437 + "lon": 35.003569,
  438 + "wikipedia": "Blantyre,_Malawi"
  439 + },
  440 + {
  441 + "city": "Bloemfontein",
  442 + "lat": -29.116395,
  443 + "lon": 26.215496,
  444 + "wikipedia": "Bloemfontein"
  445 + },
  446 + {
  447 + "city": "Boa Vista",
  448 + "lat": -7.271036,
  449 + "lon": -36.221855,
  450 + "wikipedia": "Boa_Vista,_Roraima"
  451 + },
  452 + {
  453 + "city": "Bogor",
  454 + "lat": -6.59636,
  455 + "lon": 106.797238,
  456 + "wikipedia": "Bogor"
  457 + },
  458 + {
  459 + "city": "Bogot%C3%A1",
  460 + "lat": 4.314094,
  461 + "lon": -74.181622,
  462 + "wikipedia": "Bogot%C3%A1"
  463 + },
  464 + {
  465 + "city": "Boston",
  466 + "lat": 42.360482,
  467 + "lon": -71.059568,
  468 + "wikipedia": "Boston"
  469 + },
  470 + {
  471 + "city": "Bratislava",
  472 + "lat": 48.148841,
  473 + "lon": 17.119046,
  474 + "wikipedia": "Bratislava"
  475 + },
  476 + {
  477 + "city": "Bratsk",
  478 + "lat": 56.201169,
  479 + "lon": 101.668618,
  480 + "wikipedia": "Bratsk"
  481 + },
  482 + {
  483 + "city": "Brazzaville",
  484 + "lat": -4.267045,
  485 + "lon": 15.283058,
  486 + "wikipedia": "Brazzaville"
  487 + },
  488 + {
  489 + "city": "Bridgetown",
  490 + "lat": 13.101826,
  491 + "lon": -59.618848,
  492 + "wikipedia": "Bridgetown"
  493 + },
  494 + {
  495 + "city": "Brikama",
  496 + "lat": 13.274139,
  497 + "lon": -16.645439,
  498 + "wikipedia": "Brikama"
  499 + },
  500 + {
  501 + "city": "Brisbane",
  502 + "lat": -27.468968,
  503 + "lon": 153.023499,
  504 + "wikipedia": "Brisbane"
  505 + },
  506 + {
  507 + "city": "Brussels",
  508 + "lat": 50.846541,
  509 + "lon": 4.351684,
  510 + "wikipedia": "Brussels"
  511 + },
  512 + {
  513 + "city": "Bucharest",
  514 + "lat": 44.436139,
  515 + "lon": 26.102744,
  516 + "wikipedia": "Bucharest"
  517 + },
  518 + {
  519 + "city": "Budapest",
  520 + "lat": 47.484059,
  521 + "lon": 19.107618,
  522 + "wikipedia": "Budapest"
  523 + },
  524 + {
  525 + "city": "Buenos Aires",
  526 + "lat": -36.380504,
  527 + "lon": -60.388888,
  528 + "wikipedia": "Buenos_Aires"
  529 + },
  530 + {
  531 + "city": "Buffalo",
  532 + "lat": 37.644362,
  533 + "lon": -93.09695,
  534 + "wikipedia": "Buffalo,_New_York"
  535 + },
  536 + {
  537 + "city": "Bujumbura",
  538 + "lat": -3.363812,
  539 + "lon": 29.367503,
  540 + "wikipedia": "Bujumbura"
  541 + },
  542 + {
  543 + "city": "Bulawayo",
  544 + "lat": -20.155285,
  545 + "lon": 28.587741,
  546 + "wikipedia": "Bulawayo"
  547 + },
  548 + {
  549 + "city": "Bursa",
  550 + "lat": 40.178303,
  551 + "lon": 28.966511,
  552 + "wikipedia": "Bursa"
  553 + },
  554 + {
  555 + "city": "Busan",
  556 + "lat": 35.17457,
  557 + "lon": 129.07298,
  558 + "wikipedia": "Busan"
  559 + },
  560 + {
  561 + "city": "Cairns",
  562 + "lat": -16.924304,
  563 + "lon": 145.783299,
  564 + "wikipedia": "Cairns"
  565 + },
  566 + {
  567 + "city": "Cairo",
  568 + "lat": 30.048818,
  569 + "lon": 31.243666,
  570 + "wikipedia": "Cairo"
  571 + },
  572 + {
  573 + "city": "Calama",
  574 + "lat": -22.16332,
  575 + "lon": -68.6298,
  576 + "wikipedia": "Calama,_Chile"
  577 + },
  578 + {
  579 + "city": "Calgary",
  580 + "lat": 51.045554,
  581 + "lon": -114.061503,
  582 + "wikipedia": "Calgary"
  583 + },
  584 + {
  585 + "city": "Cali",
  586 + "lat": 3.445653,
  587 + "lon": -76.510305,
  588 + "wikipedia": "Cali"
  589 + },
  590 + {
  591 + "city": "Campinas",
  592 + "lat": -22.883576,
  593 + "lon": -47.043423,
  594 + "wikipedia": "Campinas"
  595 + },
  596 + {
  597 + "city": "Campo Grande",
  598 + "lat": -20.470466,
  599 + "lon": -54.623906,
  600 + "wikipedia": "Campo_Grande"
  601 + },
  602 + {
  603 + "city": "Canberra",
  604 + "lat": -35.282071,
  605 + "lon": 149.128667,
  606 + "wikipedia": "Canberra"
  607 + },
  608 + {
  609 + "city": "Cannes",
  610 + "lat": 43.551136,
  611 + "lon": 7.012727,
  612 + "wikipedia": "Cannes"
  613 + },
  614 + {
  615 + "city": "Cape Town",
  616 + "lat": -33.928905,
  617 + "lon": 18.417248,
  618 + "wikipedia": "Cape_Town"
  619 + },
  620 + {
  621 + "city": "Caracas",
  622 + "lat": 10.501823,
  623 + "lon": -66.912105,
  624 + "wikipedia": "Caracas"
  625 + },
  626 + {
  627 + "city": "Cardiff",
  628 + "lat": 51.48353,
  629 + "lon": -3.183687,
  630 + "wikipedia": "Cardiff"
  631 + },
  632 + {
  633 + "city": "Cartagena",
  634 + "lat": 10.423604,
  635 + "lon": -75.524172,
  636 + "wikipedia": "Cartagena,_Colombia"
  637 + },
  638 + {
  639 + "city": "Casablanca",
  640 + "lat": 33.596439,
  641 + "lon": -7.617907,
  642 + "wikipedia": "Casablanca"
  643 + },
  644 + {
  645 + "city": "Castries",
  646 + "lat": 14.009572,
  647 + "lon": -60.99032,
  648 + "wikipedia": "Castries"
  649 + },
  650 + {
  651 + "city": "Cayenne",
  652 + "lat": 4.937114,
  653 + "lon": -52.325831,
  654 + "wikipedia": "Cayenne"
  655 + },
  656 + {
  657 + "city": "Cebu City",
  658 + "lat": 10.30903,
  659 + "lon": 123.893084,
  660 + "wikipedia": "Cebu_City"
  661 + },
  662 + {
  663 + "city": "Chaguanas",
  664 + "lat": 10.516548,
  665 + "lon": -61.409948,
  666 + "wikipedia": "Chaguanas"
  667 + },
  668 + {
  669 + "city": "Changchun",
  670 + "lat": 43.833333,
  671 + "lon": 125.268611,
  672 + "wikipedia": "Changchun"
  673 + },
  674 + {
  675 + "city": "Charlotte Amalie",
  676 + "lat": 18.34189,
  677 + "lon": -64.933058,
  678 + "wikipedia": "Charlotte_Amalie,_United_States_Virgin_Islands"
  679 + },
  680 + {
  681 + "city": "Charlotte",
  682 + "lat": 35.227087,
  683 + "lon": -80.843127,
  684 + "wikipedia": "Charlotte,_North_Carolina"
  685 + },
  686 + {
  687 + "city": "Charlottetown",
  688 + "lat": 46.23331,
  689 + "lon": -63.131028,
  690 + "wikipedia": "Charlottetown"
  691 + },
  692 + {
  693 + "city": "Chengdu",
  694 + "lat": 30.676504,
  695 + "lon": 104.061363,
  696 + "wikipedia": "Chengdu"
  697 + },
  698 + {
  699 + "city": "Chennai",
  700 + "lat": 13.018708,
  701 + "lon": 80.399575,
  702 + "wikipedia": "Chennai"
  703 + },
  704 + {
  705 + "city": "Chiang Mai",
  706 + "lat": 18.787322,
  707 + "lon": 98.733665,
  708 + "wikipedia": "Chiang_Mai"
  709 + },
  710 + {
  711 + "city": "Chicago",
  712 + "lat": 41.875621,
  713 + "lon": -87.624371,
  714 + "wikipedia": "Chicago"
  715 + },
  716 + {
  717 + "city": "Chihuahua",
  718 + "lat": 28.5,
  719 + "lon": -106,
  720 + "wikipedia": "Chihuahua,_Chihuahua"
  721 + },
  722 + {
  723 + "city": "Chittagong",
  724 + "lat": 22.3308,
  725 + "lon": 91.841286,
  726 + "wikipedia": "Chittagong"
  727 + },
  728 + {
  729 + "city": "Chongjin",
  730 + "lat": 41.786922,
  731 + "lon": 129.785879,
  732 + "wikipedia": "Chongjin"
  733 + },
  734 + {
  735 + "city": "Chongqing",
  736 + "lat": 30.058309,
  737 + "lon": 107.874822,
  738 + "wikipedia": "Chongqing"
  739 + },
  740 + {
  741 + "city": "Christchurch",
  742 + "lat": -43.530955,
  743 + "lon": 172.636646,
  744 + "wikipedia": "Christchurch"
  745 + },
  746 + {
  747 + "city": "Chu%C3%AD",
  748 + "lat": 6.515537,
  749 + "lon": 124.501391,
  750 + "wikipedia": "Chu%C3%AD"
  751 + },
  752 + {
  753 + "city": "Cincinnati",
  754 + "lat": 39.141262,
  755 + "lon": -84.505911,
  756 + "wikipedia": "Cincinnati"
  757 + },
  758 + {
  759 + "city": "City of San Marino",
  760 + "lat": 34.144423,
  761 + "lon": -117.846685,
  762 + "wikipedia": "City_of_San_Marino"
  763 + },
  764 + {
  765 + "city": "Ciudad del Este",
  766 + "lat": -25.506824,
  767 + "lon": -54.630135,
  768 + "wikipedia": "Ciudad_del_Este"
  769 + },
  770 + {
  771 + "city": "Cleveland",
  772 + "lat": 54.5,
  773 + "lon": -1.216667,
  774 + "wikipedia": "Cleveland"
  775 + },
  776 + {
  777 + "city": "Cockburn Town",
  778 + "lat": 21.460772,
  779 + "lon": -71.139996,
  780 + "wikipedia": "Cockburn_Town"
  781 + },
  782 + {
  783 + "city": "Cologne",
  784 + "lat": 50.941232,
  785 + "lon": 6.956947,
  786 + "wikipedia": "Cologne"
  787 + },
  788 + {
  789 + "city": "Colombo",
  790 + "lat": 6.937072,
  791 + "lon": 79.849258,
  792 + "wikipedia": "Colombo"
  793 + },
  794 + {
  795 + "city": "Columbus",
  796 + "lat": 39.986005,
  797 + "lon": -82.984993,
  798 + "wikipedia": "Columbus,_Ohio"
  799 + },
  800 + {
  801 + "city": "Conakry",
  802 + "lat": 9.517125,
  803 + "lon": -13.699924,
  804 + "wikipedia": "Conakry"
  805 + },
  806 + {
  807 + "city": "Copenhagen",
  808 + "lat": 55.686724,
  809 + "lon": 12.570069,
  810 + "wikipedia": "Copenhagen"
  811 + },
  812 + {
  813 + "city": "Cork (city)",
  814 + "lat": 51.8991,
  815 + "lon": -8.470987,
  816 + "wikipedia": "Cork_(city)"
  817 + },
  818 + {
  819 + "city": "Cotonou",
  820 + "lat": 48.767942,
  821 + "lon": 2.46966,
  822 + "wikipedia": "Cotonou"
  823 + },
  824 + {
  825 + "city": "Cuiab%C3%A1",
  826 + "lat": -15.599227,
  827 + "lon": -56.095053,
  828 + "wikipedia": "Cuiab%C3%A1"
  829 + },
  830 + {
  831 + "city": "Curitiba",
  832 + "lat": -25.477829,
  833 + "lon": -49.28761,
  834 + "wikipedia": "Curitiba"
  835 + },
  836 + {
  837 + "city": "Cusco",
  838 + "lat": -13.191068,
  839 + "lon": -72.153609,
  840 + "wikipedia": "Cusco"
  841 + },
  842 + {
  843 + "city": "D%C3%BCsseldorf",
  844 + "lat": 46.922229,
  845 + "lon": 12.521537,
  846 + "wikipedia": "D%C3%BCsseldorf"
  847 + },
  848 + {
  849 + "city": "Da Nang",
  850 + "lat": 16.067981,
  851 + "lon": 108.21194,
  852 + "wikipedia": "Da_Nang"
  853 + },
  854 + {
  855 + "city": "Daegu",
  856 + "lat": 35.871438,
  857 + "lon": 128.601451,
  858 + "wikipedia": "Daegu"
  859 + },
  860 + {
  861 + "city": "Dakar",
  862 + "lat": 14.693004,
  863 + "lon": -17.447026,
  864 + "wikipedia": "Dakar"
  865 + },
  866 + {
  867 + "city": "Dalian",
  868 + "lat": 38.943776,
  869 + "lon": 121.576067,
  870 + "wikipedia": "Dalian"
  871 + },
  872 + {
  873 + "city": "Dallas",
  874 + "lat": 32.780105,
  875 + "lon": -96.800008,
  876 + "wikipedia": "Dallas"
  877 + },
  878 + {
  879 + "city": "Damascus",
  880 + "lat": 33.513069,
  881 + "lon": 36.309581,
  882 + "wikipedia": "Damascus"
  883 + },
  884 + {
  885 + "city": "Dammam",
  886 + "lat": 26.436782,
  887 + "lon": 50.103999,
  888 + "wikipedia": "Dammam"
  889 + },
  890 + {
  891 + "city": "Dar es Salaam",
  892 + "lat": -6.82686,
  893 + "lon": 39.243144,
  894 + "wikipedia": "Dar_es_Salaam"
  895 + },
  896 + {
  897 + "city": "Darwin",
  898 + "lat": -12.46044,
  899 + "lon": 130.841047,
  900 + "wikipedia": "Darwin,_Northern_Territory"
  901 + },
  902 + {
  903 + "city": "Davao City",
  904 + "lat": 7.25302,
  905 + "lon": 125.423694,
  906 + "wikipedia": "Davao_City"
  907 + },
  908 + {
  909 + "city": "Dededo",
  910 + "lat": 13.518671,
  911 + "lon": 144.83771,
  912 + "wikipedia": "Dededo,_Guam"
  913 + },
  914 + {
  915 + "city": "Denpasar",
  916 + "lat": -8.65271,
  917 + "lon": 115.219268,
  918 + "wikipedia": "Denpasar"
  919 + },
  920 + {
  921 + "city": "Denver",
  922 + "lat": 39.739154,
  923 + "lon": -104.984703,
  924 + "wikipedia": "Denver"
  925 + },
  926 + {
  927 + "city": "Detroit",
  928 + "lat": 42.331645,
  929 + "lon": -83.046676,
  930 + "wikipedia": "Detroit"
  931 + },
  932 + {
  933 + "city": "Dhaka",
  934 + "lat": 23.728216,
  935 + "lon": 90.409879,
  936 + "wikipedia": "Dhaka"
  937 + },
  938 + {
  939 + "city": "Dibrugarh",
  940 + "lat": 27.369466,
  941 + "lon": 95.056436,
  942 + "wikipedia": "Dibrugarh"
  943 + },
  944 + {
  945 + "city": "Dili",
  946 + "lat": 28.742549,
  947 + "lon": 77.241981,
  948 + "wikipedia": "Dili"
  949 + },
  950 + {
  951 + "city": "Djibouti (city)",
  952 + "lat": 11.59369,
  953 + "lon": 43.147114,
  954 + "wikipedia": "Djibouti_(city)"
  955 + },
  956 + {
  957 + "city": "Dodoma",
  958 + "lat": -6.179118,
  959 + "lon": 35.746817,
  960 + "wikipedia": "Dodoma"
  961 + },
  962 + {
  963 + "city": "Doha",
  964 + "lat": 25.285252,
  965 + "lon": 51.526837,
  966 + "wikipedia": "Doha"
  967 + },
  968 + {
  969 + "city": "Dongguan",
  970 + "lat": 30.011658,
  971 + "lon": 120.814074,
  972 + "wikipedia": "Dongguan"
  973 + },
  974 + {
  975 + "city": "Douala",
  976 + "lat": 4.050666,
  977 + "lon": 9.700892,
  978 + "wikipedia": "Douala"
  979 + },
  980 + {
  981 + "city": "Douglas",
  982 + "lat": 38.883839,
  983 + "lon": -95.287456,
  984 + "wikipedia": "Douglas,_Isle_of_Man"
  985 + },
  986 + {
  987 + "city": "Dresden",
  988 + "lat": 51.066323,
  989 + "lon": 13.78342,
  990 + "wikipedia": "Dresden"
  991 + },
  992 + {
  993 + "city": "Dubai",
  994 + "lat": 25.268359,
  995 + "lon": 55.296396,
  996 + "wikipedia": "Dubai"
  997 + },
  998 + {
  999 + "city": "Dublin",
  1000 + "lat": 53.392214,
  1001 + "lon": -6.283735,
  1002 + "wikipedia": "Dublin"
  1003 + },
  1004 + {
  1005 + "city": "Dunedin",
  1006 + "lat": -45.873928,
  1007 + "lon": 170.503488,
  1008 + "wikipedia": "Dunedin"
  1009 + },
  1010 + {
  1011 + "city": "Durango",
  1012 + "lat": 24.852447,
  1013 + "lon": -104.863151,
  1014 + "wikipedia": "Durango,_Durango"
  1015 + },
  1016 + {
  1017 + "city": "Durban",
  1018 + "lat": -29.854167,
  1019 + "lon": 31.05,
  1020 + "wikipedia": "Durban"
  1021 + },
  1022 + {
  1023 + "city": "Dushanbe",
  1024 + "lat": 38.534685,
  1025 + "lon": 68.780162,
  1026 + "wikipedia": "Dushanbe"
  1027 + },
  1028 + {
  1029 + "city": "Edinburgh",
  1030 + "lat": 55.94834,
  1031 + "lon": -3.193272,
  1032 + "wikipedia": "Edinburgh"
  1033 + },
  1034 + {
  1035 + "city": "Edmonton",
  1036 + "lat": 53.54847,
  1037 + "lon": -113.535373,
  1038 + "wikipedia": "Edmonton"
  1039 + },
  1040 + {
  1041 + "city": "El Paso",
  1042 + "lat": 9.681882,
  1043 + "lon": -73.693089,
  1044 + "wikipedia": "El_Paso,_Texas"
  1045 + },
  1046 + {
  1047 + "city": "Enugu",
  1048 + "lat": 6.45,
  1049 + "lon": 7.5,
  1050 + "wikipedia": "Enugu"
  1051 + },
  1052 + {
  1053 + "city": "Espoo",
  1054 + "lat": 60.159537,
  1055 + "lon": 24.713792,
  1056 + "wikipedia": "Espoo"
  1057 + },
  1058 + {
  1059 + "city": "Fairbanks",
  1060 + "lat": 64.835344,
  1061 + "lon": -147.65332,
  1062 + "wikipedia": "Fairbanks,_Alaska"
  1063 + },
  1064 + {
  1065 + "city": "Faisalabad",
  1066 + "lat": 31.41868,
  1067 + "lon": 73.079083,
  1068 + "wikipedia": "Faisalabad"
  1069 + },
  1070 + {
  1071 + "city": "Forked River",
  1072 + "lat": 39.839841,
  1073 + "lon": -74.19014,
  1074 + "wikipedia": "Forked_River"
  1075 + },
  1076 + {
  1077 + "city": "Fort-de-France",
  1078 + "lat": 14.643809,
  1079 + "lon": -61.037401,
  1080 + "wikipedia": "Fort-de-France"
  1081 + },
  1082 + {
  1083 + "city": "Fortaleza",