-
Notifications
You must be signed in to change notification settings - Fork 0
/
Geo_Spacial_Python_Share.json
1 lines (1 loc) · 59.7 KB
/
Geo_Spacial_Python_Share.json
1
{"paragraphs":[{"text":"%spark.dep\nz.reset()","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/scala","results":{},"enabled":true,"editorSetting":{"language":"scala"}},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1496435242793_1009800082","id":"20170526-150835_2123839619","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:27875"},{"text":"%spark.pyspark\n\nfileName =\".../worldcitiespop.csv\"\n \ndf_data_1 = sqlContext.read.option(\"header\", \"true\").option(\"mode\", \"DROPMALFORMED\").option(\"inferSchema\", \"true\").csv(fileName)\n \ndf_data_1.printSchema()\ndf_data_1.show()\ndf_data_1.createOrReplaceTempView(\"air\")\n\n","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python","editOnDblClick":false}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"root\n |-- Country: string (nullable = true)\n |-- City: string (nullable = true)\n |-- AccentCity: string (nullable = true)\n |-- Region: string (nullable = true)\n |-- Population: integer (nullable = true)\n |-- Latitude: double (nullable = true)\n |-- Longitude: double (nullable = true)\n\n+-------+------------------+------------------+------+----------+----------+---------+\n|Country| City| AccentCity|Region|Population| Latitude|Longitude|\n+-------+------------------+------------------+------+----------+----------+---------+\n| ad| aixas| Aix�s| 06| null|42.4833333|1.4666667|\n| ad| aixirivali| Aixirivali| 06| null|42.4666667| 1.5|\n| ad| aixirivall| Aixirivall| 06| null|42.4666667| 1.5|\n| ad| aixirvall| Aixirvall| 06| null|42.4666667| 1.5|\n| ad| aixovall| Aixovall| 06| null|42.4666667|1.4833333|\n| ad| andorra| Andorra| 07| null| 42.5|1.5166667|\n| ad| andorra la vella| Andorra la Vella| 07| 20430| 42.5|1.5166667|\n| ad| andorra-vieille| Andorra-Vieille| 07| null| 42.5|1.5166667|\n| ad| andorre| Andorre| 07| null| 42.5|1.5166667|\n| ad|andorre-la-vieille|Andorre-la-Vieille| 07| null| 42.5|1.5166667|\n| ad| andorre-vieille| Andorre-Vieille| 07| null| 42.5|1.5166667|\n| ad| ansalonga| Ansalonga| 04| null|42.5666667|1.5166667|\n| ad| anyos| Any�s| 05| null|42.5333333|1.5333333|\n| ad| arans| Arans| 04| null|42.5833333|1.5166667|\n| ad| arinsal| Arinsal| 04| null|42.5666667|1.4833333|\n| ad| aubinya| Aubiny�| 06| null| 42.45| 1.5|\n| ad| auvinya| Auvinya| 06| null| 42.45| 1.5|\n| ad| bicisarri| Bi�isarri| 06| null|42.4833333|1.4666667|\n| ad| bixessarri| Bixessarri| 06| null|42.4833333|1.4666667|\n| ad| bixisarri| Bixisarri| 06| null|42.4833333|1.4666667|\n+-------+------------------+------------------+------+----------+----------+---------+\nonly showing top 20 rows\n\n"}]},"apps":[],"jobName":"paragraph_1496435242793_1009800082","id":"20170526-151232_1463081591","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27876"},{"text":"%spark.pyspark\n\ndf_data_1.printSchema()\ndf_data_1.show(5)\ndf_data_1.createOrReplaceTempView(\"city\")","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python","editOnDblClick":false}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"root\n |-- Country: string (nullable = true)\n |-- City: string (nullable = true)\n |-- AccentCity: string (nullable = true)\n |-- Region: string (nullable = true)\n |-- Population: integer (nullable = true)\n |-- Latitude: double (nullable = true)\n |-- Longitude: double (nullable = true)\n\n+-------+----------+----------+------+----------+----------+---------+\n|Country| City|AccentCity|Region|Population| Latitude|Longitude|\n+-------+----------+----------+------+----------+----------+---------+\n| ad| aixas| Aix�s| 06| null|42.4833333|1.4666667|\n| ad|aixirivali|Aixirivali| 06| null|42.4666667| 1.5|\n| ad|aixirivall|Aixirivall| 06| null|42.4666667| 1.5|\n| ad| aixirvall| Aixirvall| 06| null|42.4666667| 1.5|\n| ad| aixovall| Aixovall| 06| null|42.4666667|1.4833333|\n+-------+----------+----------+------+----------+----------+---------+\nonly showing top 5 rows\n\n"}]},"apps":[],"jobName":"paragraph_1496435242794_1010954329","id":"20170530-201409_436670526","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27877"},{"text":"%spark.sql\n\n\nSELECT Country, count(1) AS nb_cities FROM city GROUP BY Country ORDER BY nb_cities DESC\n\n","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/sql","results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":true,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"Country","index":0,"aggr":"sum"}],"groups":[],"values":[{"name":"nb_cities","index":1,"aggr":"sum"}]},"helium":{}}},"enabled":true,"editorSetting":{"language":"sql","editOnDblClick":false}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"Country\tnb_cities\ncn\t238985\nru\t215938\nid\t176546\nus\t141989\nir\t123872\npk\t94247\naf\t88749\ntr\t72451\nde\t70477\nfr\t66362\nmx\t62116\nth\t56846\npl\t49666\nph\t48233\nkr\t44601\nng\t43763\nbr\t43204\nua\t42775\nin\t39813\nmm\t33856\nvn\t32943\nes\t31496\nkp\t29358\nro\t28838\nma\t28356\nse\t27813\nco\t27326\npe\t26549\nbd\t26414\nmy\t26313\ngr\t23263\ncd\t23013\nzr\t23012\ncz\t21682\nmz\t21241\nve\t20719\nit\t20606\nbg\t20106\nao\t19560\nhu\t18623\nsy\t18486\nmg\t18423\nlk\t18214\njp\t17849\ngb\t17708\niq\t17343\nlt\t17341\nla\t16477\nbe\t16218\nba\t15999\nbo\t15900\nby\t15310\npt\t15299\nal\t15123\ngh\t14893\nrs\t14844\nat\t14788\nkz\t14745\nkh\t14447\nci\t14279\npg\t14131\neg\t13924\nfi\t13588\net\t13140\nzm\t13027\nza\t12693\nno\t12470\ntw\t12454\nml\t12294\nhn\t12249\nsn\t12132\nhr\t12105\nye\t11747\naz\t11223\ntd\t10992\nsd\t10944\nau\t10941\nht\t10644\nbf\t10468\ndo\t10359\ndz\t9984\ncm\t9862\ncu\t9485\nee\t9377\nlv\t9233\nie\t9180\nnl\t9013\nne\t8745\nar\t8738\ndk\t8652\nlr\t8481\nec\t8305\ntz\t8004\ngn\t7781\nge\t7533\ngt\t6996\npa\t6881\nlb\t6782\nsk\t6775\ncg\t6399\nso\t6137\nug\t6061\nmn\t6058\nmd\t5978\ncf\t5727\nsl\t5711\nuz\t5655\nca\t5521\ntg\t5148\ngw\t4908\nsi\t4901\nmw\t4856\nsv\t4779\nsa\t4705\ncl\t4446\nbj\t4390\nme\t4066\nga\t3924\ntn\t3852\ntj\t3798\nil\t3735\nch\t3606\nsb\t3574\nmk\t3494\nni\t3215\nke\t2910\nam\t2890\ncy\t2800\nom\t2790\njm\t2661\nnz\t2644\ncr\t2554\ngm\t2505\npy\t2505\ngq\t2283\nna\t2270\nbi\t2054\njo\t2031\nly\t1998\ntm\t1820\nkg\t1580\nfj\t1576\nps\t1569\nrw\t1552\nvu\t1395\nzw\t1341\nhk\t1261\ner\t1221\nmr\t1110\nuy\t1103\nnp\t1067\nlu\t966\nfm\t869\nmq\t804\ngf\t760\nsr\t728\nnc\t702\nmp\t633\nmu\t633\ngy\t626\nis\t592\ngl\t587\nmt\t583\nkm\t564\nbz\t560\ntt\t555\nbw\t543\nbb\t536\ngp\t525\nbs\t501\npw\t446\nae\t446\nsg\t441\nls\t439\nfo\t430\nre\t401\npf\t362\nqa\t357\nbh\t343\nbn\t334\nws\t326\ncv\t319\ngd\t317\nbt\t284\nkw\t283\nan\t269\ngg\t265\nst\t236\nlc\t211\nkn\t187\nag\t183\nki\t165\nto\t138\ndm\t127\nyt\t122\nsz\t116\naw\t115\nms\t92\nad\t92\ndj\t91\nfk\t91\nvc\t85\neh\t78\nky\t73\nck\t56\nje\t53\nim\t45\nli\t42\nai\t42\nwf\t39\nmv\t29\nbm\t22\nvg\t22\nvi\t22\nsc\t21\ntc\t21\nsj\t19\nmo\t18\nsh\t16\nnu\t16\ntv\t14\nnr\t13\ngi\t8\nsm\t8\nmc\t7\nmh\t6\ncx\t6\npm\t3\ngs\t2\ncc\t1\ntf\t1\npn\t1\nnf\t1\ntk\t1\n"}]},"apps":[],"jobName":"paragraph_1496435242794_1010954329","id":"20170526-151918_1165186692","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27878"},{"text":"%spark.pyspark\n\ncityDF = spark.sql(\"select Country, City, Population, Latitude, Longitude from city where Population is not null and Latitude is not null and Longitude is not null\")\n\ncityDF.printSchema()\ncityDF.show(5)","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":false,"editorSetting":{"language":"python","editOnDblClick":false},"colWidth":12,"editorMode":"ace/mode/python","editorHide":false,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"root\n |-- Country: string (nullable = true)\n |-- City: string (nullable = true)\n |-- Population: integer (nullable = true)\n |-- Latitude: double (nullable = true)\n |-- Longitude: double (nullable = true)\n\n+-------+----------------+----------+----------+---------+\n|Country| City|Population| Latitude|Longitude|\n+-------+----------------+----------+----------+---------+\n| ad|andorra la vella| 20430| 42.5|1.5166667|\n| ad| canillo| 3292|42.5666667| 1.6|\n| ad| encamp| 11224|42.5333333|1.5833333|\n| ad| la massana| 7211| 42.55|1.5166667|\n| ad| les escaldes| 15854| 42.5|1.5333333|\n+-------+----------------+----------+----------+---------+\nonly showing top 5 rows\n\n"}]},"apps":[],"jobName":"paragraph_1496435242794_1010954329","id":"20170526-165854_1538778613","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27879"},{"text":"%spark.pyspark\n\nprint \"Total Cities: \"+str(cityDF.count())","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python"}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Total Cities: 47980\n"}]},"apps":[],"jobName":"paragraph_1496435242794_1010954329","id":"20170602-152205_1541362559","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27880"},{"text":"%spark.pyspark\n\ndf=cityDF.withColumn(\"Latitude\",cityDF.Latitude.cast(\"integer\")).withColumn(\"Longitude\",cityDF.Longitude.cast(\"integer\")).withColumn(\"Population\",cityDF.Population.cast(\"integer\"))\ndf=df.filter(df.Population>2000000).orderBy(\"Population\", ascending=False)\nprint \"Total cities over 2M:\" + str(df.count())\ndf.show(20)","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python"}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Total cities over 2M:103\n+-------+---------+----------+--------+---------+\n|Country| City|Population|Latitude|Longitude|\n+-------+---------+----------+--------+---------+\n| jp| tokyo| 31480498| 35| 139|\n| cn| shanghai| 14608512| 31| 121|\n| in| bombay| 12692717| 18| 72|\n| pk| karachi| 11627378| 24| 67|\n| in| delhi| 10928270| 28| 77|\n| in|new delhi| 10928270| 28| 77|\n| ph| manila| 10443877| 14| 120|\n| ru| moscow| 10381288| 55| 37|\n| kr| seoul| 10323448| 37| 126|\n| br|sao paulo| 10021437| -23| -46|\n| tr| istanbul| 9797536| 41| 28|\n| ng| lagos| 8789133| 6| 3|\n| mx| mexico| 8720916| 19| -99|\n| id| jakarta| 8540306| -6| 106|\n| us| new york| 8107916| 40| -74|\n| cd| kinshasa| 7787832| -4| 15|\n| eg| cairo| 7734602| 30| 31|\n| pe| lima| 7646786| -12| -77|\n| cn| peking| 7480601| 39| 116|\n| gb| london| 7421228| 51| 0|\n+-------+---------+----------+--------+---------+\nonly showing top 20 rows\n\n"}]},"apps":[],"jobName":"paragraph_1496435242794_1010954329","id":"20170602-152249_1667357588","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27881"},{"text":"%spark.pyspark\n\ndescDF = df.describe(\"Population\", \"Latitude\", \"Longitude\" )\ndescDF.show()\ncity_data = df.toJSON().collect()","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python"}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"+-------+------------------+------------------+-----------------+\n|summary| Population| Latitude| Longitude|\n+-------+------------------+------------------+-----------------+\n| count| 103| 103| 103|\n| mean| 4743803.737864078|19.262135922330096|42.51456310679612|\n| stddev|3862323.4520485033|22.247256347715147| 67.4088875384396|\n| min| 2000001| -37| -118|\n| max| 31480498| 59| 151|\n+-------+------------------+------------------+-----------------+\n\n"}]},"apps":[],"jobName":"paragraph_1496435242795_1010569580","id":"20170602-152413_571308211","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27882"},{"text":"%spark.pyspark\n\ndescJSON = descDF.toJSON().collect()\nmeanJSON = json.loads(descJSON[1])\n\nlat = meanJSON[\"Latitude\"];\nlng = meanJSON[\"Longitude\"];\n\nz.put(\"Latitude\",lat)\nz.put(\"Longitude\",lng)\n\ncity_data_str = json.dumps(map(lambda row :json.loads(row), city_data))\n\nz.put(\"city_data\",city_data_str)\n","dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"editorMode":"ace/mode/python","results":{},"enabled":true,"editorSetting":{"language":"python"}},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[]},"apps":[],"jobName":"paragraph_1496435242795_1010569580","id":"20170602-152436_1782622842","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27883"},{"text":"\nval city_data = z.get(\"city_data\")\nval lat = z.get(\"Latitude\")\nval lng = z.get(\"Longitude\")\n\nprintln(city_data)","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":false,"editorSetting":{"language":"scala","editOnDblClick":false},"colWidth":12,"editorMode":"ace/mode/scala","editorHide":false,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"city_data: Object = [{\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 31480498, \"Longitude\": 139, \"City\": \"tokyo\"}, {\"Latitude\": 31, \"Country\": \"cn\", \"Population\": 14608512, \"Longitude\": 121, \"City\": \"shanghai\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 12692717, \"Longitude\": 72, \"City\": \"bombay\"}, {\"Latitude\": 24, \"Country\": \"pk\", \"Population\": 11627378, \"Longitude\": 67, \"City\": \"karachi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"delhi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"new delhi\"}, {\"Latitude\": 14, \"Country\": \"ph\", \"Population\": 10443877, \"Longitude\": 120, \"City\": \"manila\"}, {\"Latitude\": 55, \"Country\": \"ru\", \"Population\": 10381288, \"Longitude\": 37, \"City\": \"moscow\"}, {\"Latitude\": 37, ...\nlat: Object = 19.262135922330096\n\nlng: Object = 42.51456310679612\n[{\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 31480498, \"Longitude\": 139, \"City\": \"tokyo\"}, {\"Latitude\": 31, \"Country\": \"cn\", \"Population\": 14608512, \"Longitude\": 121, \"City\": \"shanghai\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 12692717, \"Longitude\": 72, \"City\": \"bombay\"}, {\"Latitude\": 24, \"Country\": \"pk\", \"Population\": 11627378, \"Longitude\": 67, \"City\": \"karachi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"delhi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"new delhi\"}, {\"Latitude\": 14, \"Country\": \"ph\", \"Population\": 10443877, \"Longitude\": 120, \"City\": \"manila\"}, {\"Latitude\": 55, \"Country\": \"ru\", \"Population\": 10381288, \"Longitude\": 37, \"City\": \"moscow\"}, {\"Latitude\": 37, \"Country\": \"kr\", \"Population\": 10323448, \"Longitude\": 126, \"City\": \"seoul\"}, {\"Latitude\": -23, \"Country\": \"br\", \"Population\": 10021437, \"Longitude\": -46, \"City\": \"sao paulo\"}, {\"Latitude\": 41, \"Country\": \"tr\", \"Population\": 9797536, \"Longitude\": 28, \"City\": \"istanbul\"}, {\"Latitude\": 6, \"Country\": \"ng\", \"Population\": 8789133, \"Longitude\": 3, \"City\": \"lagos\"}, {\"Latitude\": 19, \"Country\": \"mx\", \"Population\": 8720916, \"Longitude\": -99, \"City\": \"mexico\"}, {\"Latitude\": -6, \"Country\": \"id\", \"Population\": 8540306, \"Longitude\": 106, \"City\": \"jakarta\"}, {\"Latitude\": 40, \"Country\": \"us\", \"Population\": 8107916, \"Longitude\": -74, \"City\": \"new york\"}, {\"Latitude\": -4, \"Country\": \"cd\", \"Population\": 7787832, \"Longitude\": 15, \"City\": \"kinshasa\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 7734602, \"Longitude\": 31, \"City\": \"cairo\"}, {\"Latitude\": -12, \"Country\": \"pe\", \"Population\": 7646786, \"Longitude\": -77, \"City\": \"lima\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 7480601, \"Longitude\": 116, \"City\": \"peking\"}, {\"Latitude\": 51, \"Country\": \"gb\", \"Population\": 7421228, \"Longitude\": 0, \"City\": \"london\"}, {\"Latitude\": 4, \"Country\": \"co\", \"Population\": 7102602, \"Longitude\": -74, \"City\": \"bogota\"}, {\"Latitude\": 23, \"Country\": \"bd\", \"Population\": 6493177, \"Longitude\": 90, \"City\": \"dhaka\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 6312576, \"Longitude\": 74, \"City\": \"lahore\"}, {\"Latitude\": -22, \"Country\": \"br\", \"Population\": 6023742, \"Longitude\": -43, \"City\": \"rio de janeiro\"}, {\"Latitude\": 33, \"Country\": \"iq\", \"Population\": 5672516, \"Longitude\": 44, \"City\": \"baghdad\"}, {\"Latitude\": 13, \"Country\": \"th\", \"Population\": 5104475, \"Longitude\": 100, \"City\": \"bangkok\"}, {\"Latitude\": 12, \"Country\": \"in\", \"Population\": 4931603, \"Longitude\": 77, \"City\": \"bangalore\"}, {\"Latitude\": -33, \"Country\": \"cl\", \"Population\": 4837248, \"Longitude\": -70, \"City\": \"santiago\"}, {\"Latitude\": 22, \"Country\": \"in\", \"Population\": 4631819, \"Longitude\": 88, \"City\": \"calcutta\"}, {\"Latitude\": 43, \"Country\": \"ca\", \"Population\": 4612187, \"Longitude\": -79, \"City\": \"toronto\"}, {\"Latitude\": 16, \"Country\": \"mm\", \"Population\": 4477782, \"Longitude\": 96, \"City\": \"rangoon\"}, {\"Latitude\": -33, \"Country\": \"au\", \"Population\": 4394585, \"Longitude\": 151, \"City\": \"sydney\"}, {\"Latitude\": 13, \"Country\": \"in\", \"Population\": 4328416, \"Longitude\": 80, \"City\": \"madras\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 4184206, \"Longitude\": 114, \"City\": \"wuhan\"}, {\"Latitude\": 59, \"Country\": \"ru\", \"Population\": 4039751, \"Longitude\": 30, \"City\": \"saint petersburg\"}, {\"Latitude\": 29, \"Country\": \"cn\", \"Population\": 3967028, \"Longitude\": 106, \"City\": \"chongqing\"}, {\"Latitude\": 34, \"Country\": \"cn\", \"Population\": 3953191, \"Longitude\": 108, \"City\": \"xian\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 3950437, \"Longitude\": 104, \"City\": \"chengdu\"}, {\"Latitude\": 34, \"Country\": \"us\", \"Population\": 3877129, \"Longitude\": -118, \"City\": \"los angeles\"}, {\"Latitude\": 31, \"Country\": \"eg\", \"Population\": 3811512, \"Longitude\": 29, \"City\": \"alexandria\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 3766207, \"Longitude\": 117, \"City\": \"tianjin\"}, {\"Latitude\": -37, \"Country\": \"au\", \"Population\": 3730212, \"Longitude\": 144, \"City\": \"melbourne\"}, {\"Latitude\": 23, \"Country\": \"in\", \"Population\": 3719933, \"Longitude\": 72, \"City\": \"ahmadabad\"}, {\"Latitude\": 5, \"Country\": \"ci\", \"Population\": 3692570, \"Longitude\": -4, \"City\": \"abidjan\"}, {\"Latitude\": 11, \"Country\": \"ng\", \"Population\": 3626204, \"Longitude\": 8, \"City\": \"kano\"}, {\"Latitude\": 33, \"Country\": \"ma\", \"Population\": 3609698, \"Longitude\": -7, \"City\": \"casablanca\"}, {\"Latitude\": 17, \"Country\": \"in\", \"Population\": 3598199, \"Longitude\": 78, \"City\": \"hyderabad\"}, {\"Latitude\": 7, \"Country\": \"ng\", \"Population\": 3565810, \"Longitude\": 3, \"City\": \"ibadan\"}, {\"Latitude\": 1, \"Country\": \"sg\", \"Population\": 3547809, \"Longitude\": 103, \"City\": \"singapore\"}, {\"Latitude\": 39, \"Country\": \"tr\", \"Population\": 3519177, \"Longitude\": 32, \"City\": \"ankara\"}, {\"Latitude\": 41, \"Country\": \"cn\", \"Population\": 3512192, \"Longitude\": 123, \"City\": \"shenyang\"}, {\"Latitude\": 24, \"Country\": \"sa\", \"Population\": 3469290, \"Longitude\": 46, \"City\": \"riyadh\"}, {\"Latitude\": 10, \"Country\": \"vn\", \"Population\": 3467426, \"Longitude\": 106, \"City\": \"ho chi minh city\"}, {\"Latitude\": -33, \"Country\": \"za\", \"Population\": 3433504, \"Longitude\": 18, \"City\": \"cape town\"}, {\"Latitude\": 52, \"Country\": \"de\", \"Population\": 3398362, \"Longitude\": 13, \"City\": \"berlin\"}, {\"Latitude\": 45, \"Country\": \"ca\", \"Population\": 3268513, \"Longitude\": -73, \"City\": \"montreal\"}, {\"Latitude\": 45, \"Country\": \"cn\", \"Population\": 3229883, \"Longitude\": 126, \"City\": \"harbin\"}, {\"Latitude\": 23, \"Country\": \"cn\", \"Population\": 3152825, \"Longitude\": 113, \"City\": \"guangzhou\"}, {\"Latitude\": -29, \"Country\": \"za\", \"Population\": 3120340, \"Longitude\": 31, \"City\": \"durban\"}, {\"Latitude\": 40, \"Country\": \"es\", \"Population\": 3102644, \"Longitude\": -3, \"City\": \"madrid\"}, {\"Latitude\": 32, \"Country\": \"cn\", \"Population\": 3087010, \"Longitude\": 118, \"City\": \"nanjing\"}, {\"Latitude\": 34, \"Country\": \"af\", \"Population\": 3043589, \"Longitude\": 69, \"City\": \"kabul\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 2935968, \"Longitude\": 73, \"City\": \"pune\"}, {\"Latitude\": 20, \"Country\": \"in\", \"Population\": 2894675, \"Longitude\": 72, \"City\": \"surat\"}, {\"Latitude\": 41, \"Country\": \"us\", \"Population\": 2841952, \"Longitude\": -87, \"City\": \"chicago\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2823523, \"Longitude\": 80, \"City\": \"kanpur\"}, {\"Latitude\": 15, \"Country\": \"sd\", \"Population\": 2810328, \"Longitude\": 32, \"City\": \"umm durman\"}, {\"Latitude\": -8, \"Country\": \"ao\", \"Population\": 2776125, \"Longitude\": 13, \"City\": \"luanda\"}, {\"Latitude\": 9, \"Country\": \"et\", \"Population\": 2757807, \"Longitude\": 38, \"City\": \"addis abeba\"}, {\"Latitude\": -1, \"Country\": \"ke\", \"Population\": 2750561, \"Longitude\": 36, \"City\": \"nairobi\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2722475, \"Longitude\": 112, \"City\": \"taiyuan\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2711937, \"Longitude\": 75, \"City\": \"jaipur\"}, {\"Latitude\": -12, \"Country\": \"br\", \"Population\": 2711903, \"Longitude\": -38, \"City\": \"salvador\"}, {\"Latitude\": 14, \"Country\": \"sn\", \"Population\": 2702820, \"Longitude\": -17, \"City\": \"dakar\"}, {\"Latitude\": -6, \"Country\": \"tz\", \"Population\": 2698651, \"Longitude\": 39, \"City\": \"dar es salaam\"}, {\"Latitude\": 41, \"Country\": \"it\", \"Population\": 2643736, \"Longitude\": 12, \"City\": \"rome\"}, {\"Latitude\": 2, \"Country\": \"so\", \"Population\": 2590180, \"Longitude\": 45, \"City\": \"mogadishu\"}, {\"Latitude\": 21, \"Country\": \"sa\", \"Population\": 2545728, \"Longitude\": 39, \"City\": \"jiddah\"}, {\"Latitude\": 43, \"Country\": \"cn\", \"Population\": 2537421, \"Longitude\": 125, \"City\": \"changchun\"}, {\"Latitude\": 25, \"Country\": \"tw\", \"Population\": 2514794, \"Longitude\": 121, \"City\": \"taipei\"}, {\"Latitude\": 50, \"Country\": \"ua\", \"Population\": 2514227, \"Longitude\": 30, \"City\": \"kiev\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 2507302, \"Longitude\": 73, \"City\": \"faisalabad\"}, {\"Latitude\": 38, \"Country\": \"tr\", \"Population\": 2501895, \"Longitude\": 27, \"City\": \"izmir\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2472250, \"Longitude\": 80, \"City\": \"lakhnau\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 2443490, \"Longitude\": 31, \"City\": \"gizeh\"}, {\"Latitude\": -3, \"Country\": \"br\", \"Population\": 2416920, \"Longitude\": -41, \"City\": \"fortaleza\"}, {\"Latitude\": 3, \"Country\": \"co\", \"Population\": 2392897, \"Longitude\": -76, \"City\": \"cali\"}, {\"Latitude\": -7, \"Country\": \"id\", \"Population\": 2374920, \"Longitude\": 112, \"City\": \"surabaya\"}, {\"Latitude\": -19, \"Country\": \"br\", \"Population\": 2373255, \"Longitude\": -43, \"City\": \"belo horizonte\"}, {\"Latitude\": 36, \"Country\": \"ir\", \"Population\": 2307254, \"Longitude\": 59, \"City\": \"mashhad\"}, {\"Latitude\": 21, \"Country\": \"in\", \"Population\": 2228191, \"Longitude\": 79, \"City\": \"nagpur\"}, {\"Latitude\": -17, \"Country\": \"zw\", \"Population\": 2213701, \"Longitude\": 31, \"City\": \"harare\"}, {\"Latitude\": -15, \"Country\": \"br\", \"Population\": 2207812, \"Longitude\": -47, \"City\": \"brasilia\"}, {\"Latitude\": 18, \"Country\": \"do\", \"Population\": 2202016, \"Longitude\": -69, \"City\": \"santo domingo\"}, {\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 2191291, \"Longitude\": 136, \"City\": \"nagoya\"}, {\"Latitude\": 36, \"Country\": \"sy\", \"Population\": 2139878, \"Longitude\": 37, \"City\": \"aleppo\"}, {\"Latitude\": 48, \"Country\": \"fr\", \"Population\": 2110694, \"Longitude\": 2, \"City\": \"paris\"}, {\"Latitude\": 36, \"Country\": \"cn\", \"Population\": 2069266, \"Longitude\": 116, \"City\": \"jinan\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2054526, \"Longitude\": 114, \"City\": \"tangshan\"}, {\"Latitude\": 38, \"Country\": \"cn\", \"Population\": 2035307, \"Longitude\": 121, \"City\": \"dalian\"}, {\"Latitude\": 29, \"Country\": \"us\", \"Population\": 2027712, \"Longitude\": -95, \"City\": \"houston\"}, {\"Latitude\": -26, \"Country\": \"za\", \"Population\": 2026466, \"Longitude\": 28, \"City\": \"johannesburg\"}, {\"Latitude\": 6, \"Country\": \"co\", \"Population\": 2000001, \"Longitude\": -75, \"City\": \"medellin\"}]\n"}]},"apps":[],"jobName":"paragraph_1496435242795_1010569580","id":"20170529-115638_1792543178","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27884"},{"text":"%md\n\n# Use Marker","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":false,"editorSetting":{"language":"markdown","editOnDblClick":true},"colWidth":12,"editorMode":"ace/mode/markdown","editorHide":true,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<div class=\"markdown-body\">\n<h1>Use Marker</h1>\n</div>"}]},"apps":[],"jobName":"paragraph_1496435242795_1010569580","id":"20170528-133728_90946157","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27885"},{"text":"\nprintln(s\"\"\"%html\n\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.css\"\n integrity=\"sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ==\"\n crossorigin=\"\"/>\n \n <script src=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.js\"\n integrity=\"sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg==\"\n crossorigin=\"\"></script>\n \n <div id=\"mymap\" style=\"position: relative; width: 600px; height: 600px; margin-left: auto; margin-right: auto; margin-top: 50px;\"></div>\n \n <script> \n \n var lat = ${lat};\n var lng =${lng};\n var mymap = L.map('mymap').setView([lat, lng], 2);\n\n L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {\n attribution: '© <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n }).addTo(mymap);\n\n ${city_data}.forEach(city => {\n L.marker([city.Latitude, city.Longitude]).addTo(mymap)\n .bindPopup(\"<strong>\" + city.City + \"</strong><br>\" + \"<br>Population: \"+ city.Population)\n .openPopup();\n })\n \n </script>\n \n \"\"\")","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":false,"editorSetting":{"language":"scala","editOnDblClick":true},"colWidth":12,"editorMode":"ace/mode/scala","editorHide":true,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.css\"\n integrity=\"sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ==\"\n crossorigin=\"\"/>\n \n <script src=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.js\"\n integrity=\"sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg==\"\n crossorigin=\"\"></script>\n \n <div id=\"mymap\" style=\"position: relative; width: 600px; height: 600px; margin-left: auto; margin-right: auto; margin-top: 50px;\"></div>\n \n <script> \n \n var lat = 19.262135922330096;\n var lng =42.51456310679612;\n var mymap = L.map('mymap').setView([lat, lng], 2);\n\n L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {\n attribution: '© <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n }).addTo(mymap);\n\n [{\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 31480498, \"Longitude\": 139, \"City\": \"tokyo\"}, {\"Latitude\": 31, \"Country\": \"cn\", \"Population\": 14608512, \"Longitude\": 121, \"City\": \"shanghai\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 12692717, \"Longitude\": 72, \"City\": \"bombay\"}, {\"Latitude\": 24, \"Country\": \"pk\", \"Population\": 11627378, \"Longitude\": 67, \"City\": \"karachi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"delhi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"new delhi\"}, {\"Latitude\": 14, \"Country\": \"ph\", \"Population\": 10443877, \"Longitude\": 120, \"City\": \"manila\"}, {\"Latitude\": 55, \"Country\": \"ru\", \"Population\": 10381288, \"Longitude\": 37, \"City\": \"moscow\"}, {\"Latitude\": 37, \"Country\": \"kr\", \"Population\": 10323448, \"Longitude\": 126, \"City\": \"seoul\"}, {\"Latitude\": -23, \"Country\": \"br\", \"Population\": 10021437, \"Longitude\": -46, \"City\": \"sao paulo\"}, {\"Latitude\": 41, \"Country\": \"tr\", \"Population\": 9797536, \"Longitude\": 28, \"City\": \"istanbul\"}, {\"Latitude\": 6, \"Country\": \"ng\", \"Population\": 8789133, \"Longitude\": 3, \"City\": \"lagos\"}, {\"Latitude\": 19, \"Country\": \"mx\", \"Population\": 8720916, \"Longitude\": -99, \"City\": \"mexico\"}, {\"Latitude\": -6, \"Country\": \"id\", \"Population\": 8540306, \"Longitude\": 106, \"City\": \"jakarta\"}, {\"Latitude\": 40, \"Country\": \"us\", \"Population\": 8107916, \"Longitude\": -74, \"City\": \"new york\"}, {\"Latitude\": -4, \"Country\": \"cd\", \"Population\": 7787832, \"Longitude\": 15, \"City\": \"kinshasa\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 7734602, \"Longitude\": 31, \"City\": \"cairo\"}, {\"Latitude\": -12, \"Country\": \"pe\", \"Population\": 7646786, \"Longitude\": -77, \"City\": \"lima\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 7480601, \"Longitude\": 116, \"City\": \"peking\"}, {\"Latitude\": 51, \"Country\": \"gb\", \"Population\": 7421228, \"Longitude\": 0, \"City\": \"london\"}, {\"Latitude\": 4, \"Country\": \"co\", \"Population\": 7102602, \"Longitude\": -74, \"City\": \"bogota\"}, {\"Latitude\": 23, \"Country\": \"bd\", \"Population\": 6493177, \"Longitude\": 90, \"City\": \"dhaka\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 6312576, \"Longitude\": 74, \"City\": \"lahore\"}, {\"Latitude\": -22, \"Country\": \"br\", \"Population\": 6023742, \"Longitude\": -43, \"City\": \"rio de janeiro\"}, {\"Latitude\": 33, \"Country\": \"iq\", \"Population\": 5672516, \"Longitude\": 44, \"City\": \"baghdad\"}, {\"Latitude\": 13, \"Country\": \"th\", \"Population\": 5104475, \"Longitude\": 100, \"City\": \"bangkok\"}, {\"Latitude\": 12, \"Country\": \"in\", \"Population\": 4931603, \"Longitude\": 77, \"City\": \"bangalore\"}, {\"Latitude\": -33, \"Country\": \"cl\", \"Population\": 4837248, \"Longitude\": -70, \"City\": \"santiago\"}, {\"Latitude\": 22, \"Country\": \"in\", \"Population\": 4631819, \"Longitude\": 88, \"City\": \"calcutta\"}, {\"Latitude\": 43, \"Country\": \"ca\", \"Population\": 4612187, \"Longitude\": -79, \"City\": \"toronto\"}, {\"Latitude\": 16, \"Country\": \"mm\", \"Population\": 4477782, \"Longitude\": 96, \"City\": \"rangoon\"}, {\"Latitude\": -33, \"Country\": \"au\", \"Population\": 4394585, \"Longitude\": 151, \"City\": \"sydney\"}, {\"Latitude\": 13, \"Country\": \"in\", \"Population\": 4328416, \"Longitude\": 80, \"City\": \"madras\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 4184206, \"Longitude\": 114, \"City\": \"wuhan\"}, {\"Latitude\": 59, \"Country\": \"ru\", \"Population\": 4039751, \"Longitude\": 30, \"City\": \"saint petersburg\"}, {\"Latitude\": 29, \"Country\": \"cn\", \"Population\": 3967028, \"Longitude\": 106, \"City\": \"chongqing\"}, {\"Latitude\": 34, \"Country\": \"cn\", \"Population\": 3953191, \"Longitude\": 108, \"City\": \"xian\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 3950437, \"Longitude\": 104, \"City\": \"chengdu\"}, {\"Latitude\": 34, \"Country\": \"us\", \"Population\": 3877129, \"Longitude\": -118, \"City\": \"los angeles\"}, {\"Latitude\": 31, \"Country\": \"eg\", \"Population\": 3811512, \"Longitude\": 29, \"City\": \"alexandria\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 3766207, \"Longitude\": 117, \"City\": \"tianjin\"}, {\"Latitude\": -37, \"Country\": \"au\", \"Population\": 3730212, \"Longitude\": 144, \"City\": \"melbourne\"}, {\"Latitude\": 23, \"Country\": \"in\", \"Population\": 3719933, \"Longitude\": 72, \"City\": \"ahmadabad\"}, {\"Latitude\": 5, \"Country\": \"ci\", \"Population\": 3692570, \"Longitude\": -4, \"City\": \"abidjan\"}, {\"Latitude\": 11, \"Country\": \"ng\", \"Population\": 3626204, \"Longitude\": 8, \"City\": \"kano\"}, {\"Latitude\": 33, \"Country\": \"ma\", \"Population\": 3609698, \"Longitude\": -7, \"City\": \"casablanca\"}, {\"Latitude\": 17, \"Country\": \"in\", \"Population\": 3598199, \"Longitude\": 78, \"City\": \"hyderabad\"}, {\"Latitude\": 7, \"Country\": \"ng\", \"Population\": 3565810, \"Longitude\": 3, \"City\": \"ibadan\"}, {\"Latitude\": 1, \"Country\": \"sg\", \"Population\": 3547809, \"Longitude\": 103, \"City\": \"singapore\"}, {\"Latitude\": 39, \"Country\": \"tr\", \"Population\": 3519177, \"Longitude\": 32, \"City\": \"ankara\"}, {\"Latitude\": 41, \"Country\": \"cn\", \"Population\": 3512192, \"Longitude\": 123, \"City\": \"shenyang\"}, {\"Latitude\": 24, \"Country\": \"sa\", \"Population\": 3469290, \"Longitude\": 46, \"City\": \"riyadh\"}, {\"Latitude\": 10, \"Country\": \"vn\", \"Population\": 3467426, \"Longitude\": 106, \"City\": \"ho chi minh city\"}, {\"Latitude\": -33, \"Country\": \"za\", \"Population\": 3433504, \"Longitude\": 18, \"City\": \"cape town\"}, {\"Latitude\": 52, \"Country\": \"de\", \"Population\": 3398362, \"Longitude\": 13, \"City\": \"berlin\"}, {\"Latitude\": 45, \"Country\": \"ca\", \"Population\": 3268513, \"Longitude\": -73, \"City\": \"montreal\"}, {\"Latitude\": 45, \"Country\": \"cn\", \"Population\": 3229883, \"Longitude\": 126, \"City\": \"harbin\"}, {\"Latitude\": 23, \"Country\": \"cn\", \"Population\": 3152825, \"Longitude\": 113, \"City\": \"guangzhou\"}, {\"Latitude\": -29, \"Country\": \"za\", \"Population\": 3120340, \"Longitude\": 31, \"City\": \"durban\"}, {\"Latitude\": 40, \"Country\": \"es\", \"Population\": 3102644, \"Longitude\": -3, \"City\": \"madrid\"}, {\"Latitude\": 32, \"Country\": \"cn\", \"Population\": 3087010, \"Longitude\": 118, \"City\": \"nanjing\"}, {\"Latitude\": 34, \"Country\": \"af\", \"Population\": 3043589, \"Longitude\": 69, \"City\": \"kabul\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 2935968, \"Longitude\": 73, \"City\": \"pune\"}, {\"Latitude\": 20, \"Country\": \"in\", \"Population\": 2894675, \"Longitude\": 72, \"City\": \"surat\"}, {\"Latitude\": 41, \"Country\": \"us\", \"Population\": 2841952, \"Longitude\": -87, \"City\": \"chicago\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2823523, \"Longitude\": 80, \"City\": \"kanpur\"}, {\"Latitude\": 15, \"Country\": \"sd\", \"Population\": 2810328, \"Longitude\": 32, \"City\": \"umm durman\"}, {\"Latitude\": -8, \"Country\": \"ao\", \"Population\": 2776125, \"Longitude\": 13, \"City\": \"luanda\"}, {\"Latitude\": 9, \"Country\": \"et\", \"Population\": 2757807, \"Longitude\": 38, \"City\": \"addis abeba\"}, {\"Latitude\": -1, \"Country\": \"ke\", \"Population\": 2750561, \"Longitude\": 36, \"City\": \"nairobi\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2722475, \"Longitude\": 112, \"City\": \"taiyuan\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2711937, \"Longitude\": 75, \"City\": \"jaipur\"}, {\"Latitude\": -12, \"Country\": \"br\", \"Population\": 2711903, \"Longitude\": -38, \"City\": \"salvador\"}, {\"Latitude\": 14, \"Country\": \"sn\", \"Population\": 2702820, \"Longitude\": -17, \"City\": \"dakar\"}, {\"Latitude\": -6, \"Country\": \"tz\", \"Population\": 2698651, \"Longitude\": 39, \"City\": \"dar es salaam\"}, {\"Latitude\": 41, \"Country\": \"it\", \"Population\": 2643736, \"Longitude\": 12, \"City\": \"rome\"}, {\"Latitude\": 2, \"Country\": \"so\", \"Population\": 2590180, \"Longitude\": 45, \"City\": \"mogadishu\"}, {\"Latitude\": 21, \"Country\": \"sa\", \"Population\": 2545728, \"Longitude\": 39, \"City\": \"jiddah\"}, {\"Latitude\": 43, \"Country\": \"cn\", \"Population\": 2537421, \"Longitude\": 125, \"City\": \"changchun\"}, {\"Latitude\": 25, \"Country\": \"tw\", \"Population\": 2514794, \"Longitude\": 121, \"City\": \"taipei\"}, {\"Latitude\": 50, \"Country\": \"ua\", \"Population\": 2514227, \"Longitude\": 30, \"City\": \"kiev\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 2507302, \"Longitude\": 73, \"City\": \"faisalabad\"}, {\"Latitude\": 38, \"Country\": \"tr\", \"Population\": 2501895, \"Longitude\": 27, \"City\": \"izmir\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2472250, \"Longitude\": 80, \"City\": \"lakhnau\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 2443490, \"Longitude\": 31, \"City\": \"gizeh\"}, {\"Latitude\": -3, \"Country\": \"br\", \"Population\": 2416920, \"Longitude\": -41, \"City\": \"fortaleza\"}, {\"Latitude\": 3, \"Country\": \"co\", \"Population\": 2392897, \"Longitude\": -76, \"City\": \"cali\"}, {\"Latitude\": -7, \"Country\": \"id\", \"Population\": 2374920, \"Longitude\": 112, \"City\": \"surabaya\"}, {\"Latitude\": -19, \"Country\": \"br\", \"Population\": 2373255, \"Longitude\": -43, \"City\": \"belo horizonte\"}, {\"Latitude\": 36, \"Country\": \"ir\", \"Population\": 2307254, \"Longitude\": 59, \"City\": \"mashhad\"}, {\"Latitude\": 21, \"Country\": \"in\", \"Population\": 2228191, \"Longitude\": 79, \"City\": \"nagpur\"}, {\"Latitude\": -17, \"Country\": \"zw\", \"Population\": 2213701, \"Longitude\": 31, \"City\": \"harare\"}, {\"Latitude\": -15, \"Country\": \"br\", \"Population\": 2207812, \"Longitude\": -47, \"City\": \"brasilia\"}, {\"Latitude\": 18, \"Country\": \"do\", \"Population\": 2202016, \"Longitude\": -69, \"City\": \"santo domingo\"}, {\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 2191291, \"Longitude\": 136, \"City\": \"nagoya\"}, {\"Latitude\": 36, \"Country\": \"sy\", \"Population\": 2139878, \"Longitude\": 37, \"City\": \"aleppo\"}, {\"Latitude\": 48, \"Country\": \"fr\", \"Population\": 2110694, \"Longitude\": 2, \"City\": \"paris\"}, {\"Latitude\": 36, \"Country\": \"cn\", \"Population\": 2069266, \"Longitude\": 116, \"City\": \"jinan\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2054526, \"Longitude\": 114, \"City\": \"tangshan\"}, {\"Latitude\": 38, \"Country\": \"cn\", \"Population\": 2035307, \"Longitude\": 121, \"City\": \"dalian\"}, {\"Latitude\": 29, \"Country\": \"us\", \"Population\": 2027712, \"Longitude\": -95, \"City\": \"houston\"}, {\"Latitude\": -26, \"Country\": \"za\", \"Population\": 2026466, \"Longitude\": 28, \"City\": \"johannesburg\"}, {\"Latitude\": 6, \"Country\": \"co\", \"Population\": 2000001, \"Longitude\": -75, \"City\": \"medellin\"}].forEach(city => {\n L.marker([city.Latitude, city.Longitude]).addTo(mymap)\n .bindPopup(\"<strong>\" + city.City + \"</strong><br>\" + \"<br>Population: \"+ city.Population)\n .openPopup();\n })\n \n </script>\n \n \n"}]},"apps":[],"jobName":"paragraph_1496435242796_1008645835","id":"20170528-144350_504034508","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27886"},{"text":"%md\n\n# Use MarkerClusterGroup","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":false,"editorSetting":{"language":"markdown","editOnDblClick":true},"colWidth":12,"editorMode":"ace/mode/markdown","editorHide":true,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<div class=\"markdown-body\">\n<h1>Use MarkerClusterGroup</h1>\n</div>"}]},"apps":[],"jobName":"paragraph_1496435242796_1008645835","id":"20170529-134936_1549869114","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27887"},{"text":"\nprintln(s\"\"\"%html\n\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.css\"\n integrity=\"sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ==\"\n crossorigin=\"\"/>\n \n <script src=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.js\"\n integrity=\"sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg==\"\n crossorigin=\"\"></script>\n \n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/MarkerCluster.css\"/>\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/MarkerCluster.Default.css\"/>\n <script src=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/leaflet.markercluster-src.js\"></script>\n\n <div id=\"mymapcg\" style=\"position: relative; width: 1200px; height: 800px; margin-left: auto; margin-right: auto; margin-top: 50px;\"></div>\n \n <script> \n\n var lat = ${lat};\n var lng =${lng};\n var mymapcg = L.map('mymapcg').setView([lat, lng], 2);\n\n L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {\n attribution: '© <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n }).addTo(mymapcg);\n\n var markers = L.markerClusterGroup({ \n disableClusteringAtZoom: 5, \n chunkedLoading: true,\n spiderfyOnMaxZoom: true,\n\t zoomToBoundsOnClick: true,\n\t animate: true,\n\t spiderfyDistanceMultiplier: 1.1\n });\n\n ${city_data}.forEach(city => {\n var title = \"<strong>\" + city.City + \"</strong><br>\" + \"<br>Population: \" + city.Population;\n\t\tvar marker = L.marker(L.latLng(city.Latitude, city.Longitude), { title: title });\n\t\tmarker.bindPopup(title);\n markers.addLayer(marker);\n })\n \n \n markers.on('clustermouseover', function(c) {\n\tconsole.log('clustermouseover');\n var popup = L.popup()\n .setLatLng(c.layer.getLatLng())\n .setContent(c.layer._childCount +' Locations(click to Zoom)')\n .openOn(mymapcg);\n });\n \n markers.on('clustermouseout',function(c){\n\tconsole.log('clustermouseout');\n mymapcg.closePopup();\n });\n \n markers.on('clusterclick',function(c){\n\t// a.layer is actually a cluster\n\tconsole.log('cluster ' + a.layer.getAllChildMarkers().length);\n\tmymapcg.closePopup();\n }); \n \n markers.on('click', function (a) {\n\tconsole.log('marker ' + a.layer);\n });\n\n \n mymapcg.addLayer(markers);\n \n</script>\n \n \"\"\")","dateUpdated":"2017-06-02T16:27:22-0400","config":{"tableHide":true,"editorSetting":{"language":"scala","editOnDblClick":true},"colWidth":12,"editorMode":"ace/mode/scala","editorHide":false,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.css\"\n integrity=\"sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ==\"\n crossorigin=\"\"/>\n \n <script src=\"https://unpkg.com/leaflet@1.0.3/dist/leaflet.js\"\n integrity=\"sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg==\"\n crossorigin=\"\"></script>\n \n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/MarkerCluster.css\"/>\n <link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/MarkerCluster.Default.css\"/>\n <script src=\"https://unpkg.com/leaflet.markercluster@1.0.5/dist/leaflet.markercluster-src.js\"></script>\n\n <div id=\"mymapcg\" style=\"position: relative; width: 1200px; height: 800px; margin-left: auto; margin-right: auto; margin-top: 50px;\"></div>\n \n <script> \n\n var lat = 19.262135922330096;\n var lng =42.51456310679612;\n var mymapcg = L.map('mymapcg').setView([lat, lng], 2);\n\n L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {\n attribution: '© <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n }).addTo(mymapcg);\n\n var markers = L.markerClusterGroup({ \n disableClusteringAtZoom: 5, \n chunkedLoading: true,\n spiderfyOnMaxZoom: true,\n\t zoomToBoundsOnClick: true,\n\t animate: true,\n\t spiderfyDistanceMultiplier: 1.1\n });\n\n [{\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 31480498, \"Longitude\": 139, \"City\": \"tokyo\"}, {\"Latitude\": 31, \"Country\": \"cn\", \"Population\": 14608512, \"Longitude\": 121, \"City\": \"shanghai\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 12692717, \"Longitude\": 72, \"City\": \"bombay\"}, {\"Latitude\": 24, \"Country\": \"pk\", \"Population\": 11627378, \"Longitude\": 67, \"City\": \"karachi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"delhi\"}, {\"Latitude\": 28, \"Country\": \"in\", \"Population\": 10928270, \"Longitude\": 77, \"City\": \"new delhi\"}, {\"Latitude\": 14, \"Country\": \"ph\", \"Population\": 10443877, \"Longitude\": 120, \"City\": \"manila\"}, {\"Latitude\": 55, \"Country\": \"ru\", \"Population\": 10381288, \"Longitude\": 37, \"City\": \"moscow\"}, {\"Latitude\": 37, \"Country\": \"kr\", \"Population\": 10323448, \"Longitude\": 126, \"City\": \"seoul\"}, {\"Latitude\": -23, \"Country\": \"br\", \"Population\": 10021437, \"Longitude\": -46, \"City\": \"sao paulo\"}, {\"Latitude\": 41, \"Country\": \"tr\", \"Population\": 9797536, \"Longitude\": 28, \"City\": \"istanbul\"}, {\"Latitude\": 6, \"Country\": \"ng\", \"Population\": 8789133, \"Longitude\": 3, \"City\": \"lagos\"}, {\"Latitude\": 19, \"Country\": \"mx\", \"Population\": 8720916, \"Longitude\": -99, \"City\": \"mexico\"}, {\"Latitude\": -6, \"Country\": \"id\", \"Population\": 8540306, \"Longitude\": 106, \"City\": \"jakarta\"}, {\"Latitude\": 40, \"Country\": \"us\", \"Population\": 8107916, \"Longitude\": -74, \"City\": \"new york\"}, {\"Latitude\": -4, \"Country\": \"cd\", \"Population\": 7787832, \"Longitude\": 15, \"City\": \"kinshasa\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 7734602, \"Longitude\": 31, \"City\": \"cairo\"}, {\"Latitude\": -12, \"Country\": \"pe\", \"Population\": 7646786, \"Longitude\": -77, \"City\": \"lima\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 7480601, \"Longitude\": 116, \"City\": \"peking\"}, {\"Latitude\": 51, \"Country\": \"gb\", \"Population\": 7421228, \"Longitude\": 0, \"City\": \"london\"}, {\"Latitude\": 4, \"Country\": \"co\", \"Population\": 7102602, \"Longitude\": -74, \"City\": \"bogota\"}, {\"Latitude\": 23, \"Country\": \"bd\", \"Population\": 6493177, \"Longitude\": 90, \"City\": \"dhaka\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 6312576, \"Longitude\": 74, \"City\": \"lahore\"}, {\"Latitude\": -22, \"Country\": \"br\", \"Population\": 6023742, \"Longitude\": -43, \"City\": \"rio de janeiro\"}, {\"Latitude\": 33, \"Country\": \"iq\", \"Population\": 5672516, \"Longitude\": 44, \"City\": \"baghdad\"}, {\"Latitude\": 13, \"Country\": \"th\", \"Population\": 5104475, \"Longitude\": 100, \"City\": \"bangkok\"}, {\"Latitude\": 12, \"Country\": \"in\", \"Population\": 4931603, \"Longitude\": 77, \"City\": \"bangalore\"}, {\"Latitude\": -33, \"Country\": \"cl\", \"Population\": 4837248, \"Longitude\": -70, \"City\": \"santiago\"}, {\"Latitude\": 22, \"Country\": \"in\", \"Population\": 4631819, \"Longitude\": 88, \"City\": \"calcutta\"}, {\"Latitude\": 43, \"Country\": \"ca\", \"Population\": 4612187, \"Longitude\": -79, \"City\": \"toronto\"}, {\"Latitude\": 16, \"Country\": \"mm\", \"Population\": 4477782, \"Longitude\": 96, \"City\": \"rangoon\"}, {\"Latitude\": -33, \"Country\": \"au\", \"Population\": 4394585, \"Longitude\": 151, \"City\": \"sydney\"}, {\"Latitude\": 13, \"Country\": \"in\", \"Population\": 4328416, \"Longitude\": 80, \"City\": \"madras\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 4184206, \"Longitude\": 114, \"City\": \"wuhan\"}, {\"Latitude\": 59, \"Country\": \"ru\", \"Population\": 4039751, \"Longitude\": 30, \"City\": \"saint petersburg\"}, {\"Latitude\": 29, \"Country\": \"cn\", \"Population\": 3967028, \"Longitude\": 106, \"City\": \"chongqing\"}, {\"Latitude\": 34, \"Country\": \"cn\", \"Population\": 3953191, \"Longitude\": 108, \"City\": \"xian\"}, {\"Latitude\": 30, \"Country\": \"cn\", \"Population\": 3950437, \"Longitude\": 104, \"City\": \"chengdu\"}, {\"Latitude\": 34, \"Country\": \"us\", \"Population\": 3877129, \"Longitude\": -118, \"City\": \"los angeles\"}, {\"Latitude\": 31, \"Country\": \"eg\", \"Population\": 3811512, \"Longitude\": 29, \"City\": \"alexandria\"}, {\"Latitude\": 39, \"Country\": \"cn\", \"Population\": 3766207, \"Longitude\": 117, \"City\": \"tianjin\"}, {\"Latitude\": -37, \"Country\": \"au\", \"Population\": 3730212, \"Longitude\": 144, \"City\": \"melbourne\"}, {\"Latitude\": 23, \"Country\": \"in\", \"Population\": 3719933, \"Longitude\": 72, \"City\": \"ahmadabad\"}, {\"Latitude\": 5, \"Country\": \"ci\", \"Population\": 3692570, \"Longitude\": -4, \"City\": \"abidjan\"}, {\"Latitude\": 11, \"Country\": \"ng\", \"Population\": 3626204, \"Longitude\": 8, \"City\": \"kano\"}, {\"Latitude\": 33, \"Country\": \"ma\", \"Population\": 3609698, \"Longitude\": -7, \"City\": \"casablanca\"}, {\"Latitude\": 17, \"Country\": \"in\", \"Population\": 3598199, \"Longitude\": 78, \"City\": \"hyderabad\"}, {\"Latitude\": 7, \"Country\": \"ng\", \"Population\": 3565810, \"Longitude\": 3, \"City\": \"ibadan\"}, {\"Latitude\": 1, \"Country\": \"sg\", \"Population\": 3547809, \"Longitude\": 103, \"City\": \"singapore\"}, {\"Latitude\": 39, \"Country\": \"tr\", \"Population\": 3519177, \"Longitude\": 32, \"City\": \"ankara\"}, {\"Latitude\": 41, \"Country\": \"cn\", \"Population\": 3512192, \"Longitude\": 123, \"City\": \"shenyang\"}, {\"Latitude\": 24, \"Country\": \"sa\", \"Population\": 3469290, \"Longitude\": 46, \"City\": \"riyadh\"}, {\"Latitude\": 10, \"Country\": \"vn\", \"Population\": 3467426, \"Longitude\": 106, \"City\": \"ho chi minh city\"}, {\"Latitude\": -33, \"Country\": \"za\", \"Population\": 3433504, \"Longitude\": 18, \"City\": \"cape town\"}, {\"Latitude\": 52, \"Country\": \"de\", \"Population\": 3398362, \"Longitude\": 13, \"City\": \"berlin\"}, {\"Latitude\": 45, \"Country\": \"ca\", \"Population\": 3268513, \"Longitude\": -73, \"City\": \"montreal\"}, {\"Latitude\": 45, \"Country\": \"cn\", \"Population\": 3229883, \"Longitude\": 126, \"City\": \"harbin\"}, {\"Latitude\": 23, \"Country\": \"cn\", \"Population\": 3152825, \"Longitude\": 113, \"City\": \"guangzhou\"}, {\"Latitude\": -29, \"Country\": \"za\", \"Population\": 3120340, \"Longitude\": 31, \"City\": \"durban\"}, {\"Latitude\": 40, \"Country\": \"es\", \"Population\": 3102644, \"Longitude\": -3, \"City\": \"madrid\"}, {\"Latitude\": 32, \"Country\": \"cn\", \"Population\": 3087010, \"Longitude\": 118, \"City\": \"nanjing\"}, {\"Latitude\": 34, \"Country\": \"af\", \"Population\": 3043589, \"Longitude\": 69, \"City\": \"kabul\"}, {\"Latitude\": 18, \"Country\": \"in\", \"Population\": 2935968, \"Longitude\": 73, \"City\": \"pune\"}, {\"Latitude\": 20, \"Country\": \"in\", \"Population\": 2894675, \"Longitude\": 72, \"City\": \"surat\"}, {\"Latitude\": 41, \"Country\": \"us\", \"Population\": 2841952, \"Longitude\": -87, \"City\": \"chicago\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2823523, \"Longitude\": 80, \"City\": \"kanpur\"}, {\"Latitude\": 15, \"Country\": \"sd\", \"Population\": 2810328, \"Longitude\": 32, \"City\": \"umm durman\"}, {\"Latitude\": -8, \"Country\": \"ao\", \"Population\": 2776125, \"Longitude\": 13, \"City\": \"luanda\"}, {\"Latitude\": 9, \"Country\": \"et\", \"Population\": 2757807, \"Longitude\": 38, \"City\": \"addis abeba\"}, {\"Latitude\": -1, \"Country\": \"ke\", \"Population\": 2750561, \"Longitude\": 36, \"City\": \"nairobi\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2722475, \"Longitude\": 112, \"City\": \"taiyuan\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2711937, \"Longitude\": 75, \"City\": \"jaipur\"}, {\"Latitude\": -12, \"Country\": \"br\", \"Population\": 2711903, \"Longitude\": -38, \"City\": \"salvador\"}, {\"Latitude\": 14, \"Country\": \"sn\", \"Population\": 2702820, \"Longitude\": -17, \"City\": \"dakar\"}, {\"Latitude\": -6, \"Country\": \"tz\", \"Population\": 2698651, \"Longitude\": 39, \"City\": \"dar es salaam\"}, {\"Latitude\": 41, \"Country\": \"it\", \"Population\": 2643736, \"Longitude\": 12, \"City\": \"rome\"}, {\"Latitude\": 2, \"Country\": \"so\", \"Population\": 2590180, \"Longitude\": 45, \"City\": \"mogadishu\"}, {\"Latitude\": 21, \"Country\": \"sa\", \"Population\": 2545728, \"Longitude\": 39, \"City\": \"jiddah\"}, {\"Latitude\": 43, \"Country\": \"cn\", \"Population\": 2537421, \"Longitude\": 125, \"City\": \"changchun\"}, {\"Latitude\": 25, \"Country\": \"tw\", \"Population\": 2514794, \"Longitude\": 121, \"City\": \"taipei\"}, {\"Latitude\": 50, \"Country\": \"ua\", \"Population\": 2514227, \"Longitude\": 30, \"City\": \"kiev\"}, {\"Latitude\": 31, \"Country\": \"pk\", \"Population\": 2507302, \"Longitude\": 73, \"City\": \"faisalabad\"}, {\"Latitude\": 38, \"Country\": \"tr\", \"Population\": 2501895, \"Longitude\": 27, \"City\": \"izmir\"}, {\"Latitude\": 26, \"Country\": \"in\", \"Population\": 2472250, \"Longitude\": 80, \"City\": \"lakhnau\"}, {\"Latitude\": 30, \"Country\": \"eg\", \"Population\": 2443490, \"Longitude\": 31, \"City\": \"gizeh\"}, {\"Latitude\": -3, \"Country\": \"br\", \"Population\": 2416920, \"Longitude\": -41, \"City\": \"fortaleza\"}, {\"Latitude\": 3, \"Country\": \"co\", \"Population\": 2392897, \"Longitude\": -76, \"City\": \"cali\"}, {\"Latitude\": -7, \"Country\": \"id\", \"Population\": 2374920, \"Longitude\": 112, \"City\": \"surabaya\"}, {\"Latitude\": -19, \"Country\": \"br\", \"Population\": 2373255, \"Longitude\": -43, \"City\": \"belo horizonte\"}, {\"Latitude\": 36, \"Country\": \"ir\", \"Population\": 2307254, \"Longitude\": 59, \"City\": \"mashhad\"}, {\"Latitude\": 21, \"Country\": \"in\", \"Population\": 2228191, \"Longitude\": 79, \"City\": \"nagpur\"}, {\"Latitude\": -17, \"Country\": \"zw\", \"Population\": 2213701, \"Longitude\": 31, \"City\": \"harare\"}, {\"Latitude\": -15, \"Country\": \"br\", \"Population\": 2207812, \"Longitude\": -47, \"City\": \"brasilia\"}, {\"Latitude\": 18, \"Country\": \"do\", \"Population\": 2202016, \"Longitude\": -69, \"City\": \"santo domingo\"}, {\"Latitude\": 35, \"Country\": \"jp\", \"Population\": 2191291, \"Longitude\": 136, \"City\": \"nagoya\"}, {\"Latitude\": 36, \"Country\": \"sy\", \"Population\": 2139878, \"Longitude\": 37, \"City\": \"aleppo\"}, {\"Latitude\": 48, \"Country\": \"fr\", \"Population\": 2110694, \"Longitude\": 2, \"City\": \"paris\"}, {\"Latitude\": 36, \"Country\": \"cn\", \"Population\": 2069266, \"Longitude\": 116, \"City\": \"jinan\"}, {\"Latitude\": 37, \"Country\": \"cn\", \"Population\": 2054526, \"Longitude\": 114, \"City\": \"tangshan\"}, {\"Latitude\": 38, \"Country\": \"cn\", \"Population\": 2035307, \"Longitude\": 121, \"City\": \"dalian\"}, {\"Latitude\": 29, \"Country\": \"us\", \"Population\": 2027712, \"Longitude\": -95, \"City\": \"houston\"}, {\"Latitude\": -26, \"Country\": \"za\", \"Population\": 2026466, \"Longitude\": 28, \"City\": \"johannesburg\"}, {\"Latitude\": 6, \"Country\": \"co\", \"Population\": 2000001, \"Longitude\": -75, \"City\": \"medellin\"}].forEach(city => {\n var title = \"<strong>\" + city.City + \"</strong><br>\" + \"<br>Population: \" + city.Population;\n\t\tvar marker = L.marker(L.latLng(city.Latitude, city.Longitude), { title: title });\n\t\tmarker.bindPopup(title);\n markers.addLayer(marker);\n })\n \n \n markers.on('clustermouseover', function(c) {\n\tconsole.log('clustermouseover');\n var popup = L.popup()\n .setLatLng(c.layer.getLatLng())\n .setContent(c.layer._childCount +' Locations(click to Zoom)')\n .openOn(mymapcg);\n });\n \n markers.on('clustermouseout',function(c){\n\tconsole.log('clustermouseout');\n mymapcg.closePopup();\n });\n \n markers.on('clusterclick',function(c){\n\t// a.layer is actually a cluster\n\tconsole.log('cluster ' + a.layer.getAllChildMarkers().length);\n\tmymapcg.closePopup();\n }); \n \n markers.on('click', function (a) {\n\tconsole.log('marker ' + a.layer);\n });\n\n \n mymapcg.addLayer(markers);\n \n</script>\n \n \n"}]},"apps":[],"jobName":"paragraph_1496435242796_1008645835","id":"20170529-143813_793025254","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27888"},{"dateUpdated":"2017-06-02T16:27:22-0400","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1496435242797_1008261087","id":"20170526-153622_1413000984","dateCreated":"2017-06-02T16:27:22-0400","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:27889"}],"name":"Geo-Spacial Python Share","id":"2CKMX5C87","angularObjects":{"2CEURCNS5:shared_process":[],"2CEHKHCPE:shared_process":[],"2CGX2Y3R2:shared_process":[],"2CFBKQXH4:shared_process":[],"2CEY5B7AM:shared_process":[],"2CER83XV7:shared_process":[],"2CH9N6G8T:shared_process":[],"2CE2R6ZXV:shared_process":[],"2CHJXJECX:shared_process":[],"2CF5A8YTG:shared_process":[],"2CFFY1ZBD:shared_process":[],"2CEDENB37:shared_process":[],"2CH7BUMV7:shared_process":[],"2CHEYB9HP:shared_process":[],"2CHMR72BU:shared_process":[],"2CEGKHCNC:shared_process":[],"2CE2V9DPY:shared_process":[],"2CG77514Z:shared_process":[],"2CEN779XY:shared_process":[]},"config":{"looknfeel":"default","personalizedMode":"false"},"info":{}}