-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcartodb_stranieri_2020.html
232 lines (185 loc) · 25.1 KB
/
cartodb_stranieri_2020.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/x-icon" href="//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/1.0.0-assets.280/favicons/favicon.ico" />
<title>Palermo Melting Pot 2020</title>
<meta name="description" content="Subregioni Melting Pot 2020. Map created by in CARTO">
<meta name="keywords" content="Palermo, Melting, Pot, 2020, datasets, maps, data visualization, spatial data, geospatial, CARTO">
<meta name="author" content="gbvitrano">
<meta charset='utf-8' />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta property="og:title" content="Palermo Melting Pot 2020" />
<meta property="og:site_name" content="CARTO" />
<meta property="og:description" content="Subregioni Melting Pot 2020. Map created by in CARTO" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://gbvitrano.carto.com/viz/ded425b1-42be-48d2-ad39-57f18c5dae0e/embed_map" />
<meta property="og:image" content="https://cartocdn-gusc.global.ssl.fastly.net/gbvitrano/api/v1/map/static/named/tpl_ded425b1_42be_48d2_ad39_57f18c5dae0e/1200/630.png">
<meta property="fb:app_id" content="204330262947622" />
<meta property="fb:admins" content="500593636634213" />
<meta property="article:publisher" content="https://www.facebook.com/cartodb" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@CARTO">
<meta name="twitter:title" content="Palermo Melting Pot 2020">
<meta name="twitter:description" content="Subregioni Melting Pot 2020. Map created by in CARTO">
<meta name="twitter:image" content="https://cartocdn-gusc.global.ssl.fastly.net/gbvitrano/api/v1/map/static/named/tpl_ded425b1_42be_48d2_ad39_57f18c5dae0e/560/300.png">
<style type="text/css">
html, body, #map {height: 100%; padding: 0; margin: 0;}
/* footer */
.cartodb-text {position:absolute; display:none; bottom:0; left:0; right:0; margin:0; padding:0 10px; background:white; font:normal 11px "Helvetica",Arial; color:#999999; border-top:1px solid #CCC; border-top:1px solid rgba(0,0,0,0); box-shadow:rgba(0,0,0,0.6) 0 0 1px 0; -webkit-box-shadow:rgba(0,0,0,0.6) 0 0 1px 0; -moz-box-shadow:rgba(0,0,0,0.6) 0 0 1px 0; -o-box-shadow:rgba(0,0,0,0.6) 0 0 1px 0; line-height:29px; z-index:2; }
.cartodb-text a {color:#397DB8; text-decoration:underline;}
.cartodb-text a.user { text-decoration:none }
.cartodb-text img {display:inline-block; *display:inline; vertical-align:middle; border-radius:16px; -webkit-border-radius:16px; -moz-border-radius:16px; zoom:1; text-decoration:none }
.cartodb-text span.username { text-decoration:underline }
/* not supported dialog */
#not_supported_dialog {position:absolute; width:356px; height:213px; top:50%; left:50%; margin-top:-107px; margin-left:-178px; padding:0; background-color:#FFF; text-align:center; font-family:'Helvetica', Arial; color:#666666; z-index:10000;}
#not_supported_dialog h2 {display:inline-block; width:77px; margin:30px 0 0; padding-bottom:16px; font-size:13px; font-weight:bold; border-bottom:1px solid #D9D9D9; vertical-align:top; zoom:1; *display:inline;}
#not_supported_dialog p {display:block; padding:0 40px; margin:12px 0 0; font-size:15px;}
#not_supported_dialog ul {position:absolute; bottom:0; left:0; right:0; display:block; margin:0; padding:0; list-style:none; border-top:1px solid #D9D9D9;}
#not_supported_dialog ul li {float:left; margin:0; padding:0; border-right:1px solid #D9D9D9;}
#not_supported_dialog ul li a {display:block; width:118px; height:74px; background-repeat:no-repeat; background-position:center center; font-size:0; line-height:0; text-indent:-9999px;}
#not_supported_dialog ul li.last {border:none;}
#not_supported_dialog a.safari {background-image:url('//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/editor/1.0.6/images/layout/safari.png');}
#not_supported_dialog a.chrome {background-image:url('//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/editor/1.0.6/images/layout/chrome.png');}
#not_supported_dialog a.firefox {background-image:url('//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/editor/1.0.6/images/layout/firefox.png');}
:-webkit-full-screen .cartodb-map-wrapper { height: 100%!important; }
:-moz-full-screen .cartodb-map-wrapper { height: 100%!important; }
:-ms-fullscreen .cartodb-map-wrapper { height: 100%!important; }
:fullscreen .cartodb-map-wrapper { height: 100%!important; }
/* Styles showing up new cartodb text */
.cartodb-map-wrapper {bottom:30px!important;}
.cartodb-text {display:block;}
</style>
<link rel="stylesheet" media="screen" href="//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/editor/1.0.6/stylesheets/cartodb.css" />
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NRT8MSP');</script>
<!-- End Google Tag Manager -->
</head>
<body class="
embed-map
">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NRT8MSP"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="map"></div>
<div id="not_supported_dialog" style="display: none">
<h2>CARTO</h2>
<p>This visualization only works in modern browsers. Upgrade yours and enjoy.</p>
<ul>
<li><a href="https://www.apple.com/safari/" class="safari">Safari</a></li>
<li><a href="https://www.google.com/chrome/" class="chrome">Chrome</a></li>
<li class="last"><a href="https://www.mozilla.org/en-US/firefox/" class="firefox">Firefox</a></li>
</ul>
</div>
<div class="cartodb-text">
Map created by
<a class="user" href="https://gbvitrano.carto.com/me?utm_source=Footer_Link&utm_medium=referral&utm_campaign=Embed_v1&utm_content=gbvitrano" target="_blank" rel="noopener noreferrer">
<img src="//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/unversioned/images/avatars/avatar_heart_green.png" width="16" height="16" alt="gbvitrano" title="gbvitrano" />
<span class="username">gbvitrano</span>
</a>
</div>
<script src="//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/editor/1.0.6/javascripts/embed.js"></script>
<script>
// Get url parameters
function get_url_params(conversion) {
conversion = conversion || {};
var tokens = location.search.slice(1).split('&');
var params = {};
for (var i = 0; i < tokens.length; ++i) {
var tk = tokens[i].split('=');
var fn = conversion[tk[0]] || function(v) { return v };
if (tk.length === 2) {
params[tk[0]] = fn(decodeURIComponent(tk[1]));
}
}
return params;
}
// Manage errors
function manageError(err, layer) {
if(layer && layer.get('type') === 'torque') {
$('#not_supported_dialog').show();
// hide all the overlays
var overlays = this.getOverlays()
for (var i = 0; i < overlays.length; ++i) {
var o = overlays[i];
o.hide && o.hide();
}
}
}
// Send stats
function stats() {
var browser;
var ua = navigator.userAgent;
var checks = [
['MSIE 11.0', 'ms11'],
['MSIE 10.0', 'ms10'],
['MSIE 9.0', 'ms9'],
['MSIE 8.0', 'ms8'],
['MSIE 7.0','ms7'],
['Chrome', 'chr'],
['Firefox', 'ff'],
['Safari', 'ff']
]
for(var i = 0; i < checks.length && !browser; ++i) {
if(ua.indexOf(checks[i][0]) !== -1) browser = checks[i][1];
}
browser = browser || 'none';
cartodb.core.Profiler.metric('cartodb-js.embed.' + browser).inc();
}
// On load...
$(function(){
// Set visualization user url prefix
cartodb.config.set('url_prefix', 'https://gbvitrano.carto.com');
var bool_fn = function(v) { return v == 'true' };
var is_custom_install = false;
var logo_fn = function(v) { return ( true || is_custom_install ) ? true : v == 'true' };
var layer_fn = function(v) {
if(!v || !v.length) {
return null;
}
return _.map(v.split("|"), function(v) {
return { visible: !!parseInt(v, 10) }
});
};
var opt = get_url_params({
'force_mobile': bool_fn,
'search': bool_fn,
'title': bool_fn,
'description': bool_fn,
'shareable': bool_fn,
'fullscreen': bool_fn,
'cartodb_logo': logo_fn,
'scrollwheel': bool_fn,
'sublayer_options': layer_fn,
'layer_selector': bool_fn,
'legends': bool_fn
});
opt.mobile_layout = true;
cartodb.config.set({
cartodb_attributions: "CARTO <a href='https://carto.com/about-carto/?utm_source=Footer_Link&utm_medium=referral&utm_campaign=Embed_v1&utm_content=Attributions&utm_term=gbvitrano' target='_blank' rel='noopener noreferrer'>attribution</a>",
cartodb_logo_link: "https://carto.com?utm_source=Footer_Link&utm_medium=referral&utm_campaign=Embed_v1&utm_content=Logo"
})
var loadingTime = cartodb.core.Profiler.metric('cartodb-js.embed.time_full_loaded').start();
var visReadyTime = cartodb.core.Profiler.metric('cartodb-js.embed.time_vis_loaded').start();
cartodb.createVis('map', JSON.parse('{\"id\":\"ded425b1-42be-48d2-ad39-57f18c5dae0e\",\"version\":\"0.1.0\",\"title\":\"Palermo Melting Pot 2020\",\"description\":\"\\u003cp\\u003eSubregioni Melting Pot 2020\\u003c/p\\u003e\\n\",\"scrollwheel\":true,\"legends\":true,\"url\":null,\"map_provider\":\"leaflet\",\"bounds\":[[38.02808135979607,13.100852966308594],[38.240337375904566,13.727760314941406]],\"center\":\"[38.13428653167246, 13.414306640625]\",\"zoom\":12,\"updated_at\":\"2022-02-17 03:21:02 UTC\",\"layers\":[{\"options\":{\"visible\":true,\"type\":\"Tiled\",\"name\":\"Dark matter (lite)\",\"className\":\"dark_matter_lite_rainbow\",\"base_type\":\"default\",\"urlTemplate\":\"https://{s}.basemaps.cartocdn.com/rastertiles/dark_nolabels/{z}/{x}/{y}.png\",\"minZoom\":\"0\",\"maxZoom\":\"18\",\"attribution\":\"\\u0026copy; \\u003ca href=\\\"https://www.openstreetmap.org/copyright\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors\",\"subdomains\":\"abcd\",\"style\":null,\"read_only\":true,\"category\":\"CARTO\",\"order\":0,\"id\":\"92fc4e51-9cb8-4454-9fac-0e82c2d9b939\"},\"infowindow\":null,\"tooltip\":null,\"id\":\"92fc4e51-9cb8-4454-9fac-0e82c2d9b939\",\"order\":0,\"type\":\"tiled\"},{\"type\":\"layergroup\",\"options\":{\"user_name\":\"gbvitrano\",\"maps_api_template\":\"https://{user}.carto.com:443\",\"sql_api_template\":\"https://{user}.carto.com:443\",\"tiler_protocol\":\"http\",\"tiler_domain\":\"carto.com\",\"tiler_port\":\"80\",\"sql_api_protocol\":\"http\",\"sql_api_domain\":\"carto.com\",\"sql_api_endpoint\":\"/api/v2/sql\",\"sql_api_port\":80,\"filter\":\"mapnik\",\"layer_definition\":{\"stat_tag\":\"ded425b1-42be-48d2-ad39-57f18c5dae0e\",\"version\":\"1.0.1\",\"layers\":[{\"id\":\"313f9a2c-7e67-4b6d-a94b-6018a35e9023\",\"type\":\"CartoDB\",\"infowindow\":{\"fields\":[{\"position\":2,\"name\":\"circoscrizione\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"datawrapper\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"fid\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"id_quartiere\",\"title\":true},{\"position\":1,\"name\":\"quartiere\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"upl\",\"title\":true},{\"position\":0,\"name\":\"upl_nome\",\"title\":true}],\"template_name\":\"\",\"template\":\"\\u003cdiv class=\\\"cartodb-popup header orange v2\\\"\\u003e\\n \\u003ca href=\\\"#close\\\" class=\\\"cartodb-popup-close-button close\\\"\\u003ex\\u003c/a\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-header\\\"\\u003e\\n \\u003ch4\\u003eUPL\\u003c/h4\\u003e\\n \\u003ch1\\u003e{{upl_nome}}\\u003c/h1\\u003e\\n \\u003cspan class=\\\"separator\\\"\\u003e\\u003c/span\\u003e\\n \\u003c/div\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-content-wrapper\\\"\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-content\\\"\\u003e\\n \\u003ch4\\u003equartiere\\u003c/h4\\u003e\\n \\u003cp\\u003e{{quartiere}}\\u003c/p\\u003e\\n \\u003ch4\\u003ecircoscrizione\\u003c/h4\\u003e\\n \\u003cp\\u003e{{circoscrizione}}\\u003c/p\\u003e\\n \\u003c/div\\u003e\\n \\u003c/div\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-tip-container\\\"\\u003e\\n \\u003c/div\\u003e\\n \\u003cimg src=\\\"{{datawrapper}}\\\" width=\\\"350px\\\" /\\u003e\\n\\u003c/div\\u003e\",\"alternative_names\":{},\"width\":350,\"maxHeight\":180},\"tooltip\":{\"fields\":[{\"position\":1.7976931348623157e+308,\"name\":\"circoscrizione\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"datawrapper\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"fid\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"id_quartiere\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"quartiere\",\"title\":true},{\"position\":1.7976931348623157e+308,\"name\":\"upl\",\"title\":true},{\"position\":6,\"name\":\"upl_nome\",\"title\":true}],\"template_name\":\"\",\"template\":\"\\u003cdiv class=\\\"cartodb-tooltip-content-wrapper dark\\\"\\u003e\\n \\u003cdiv class=\\\"cartodb-tooltip-content\\\"\\u003e\\n \\u003ch4\\u003eupl\\u003c/h4\\u003e\\n \\u003cp\\u003e{{upl_nome}}\\u003c/p\\u003e\\n \\u003c/div\\u003e\\n\\u003c/div\\u003e\",\"alternative_names\":{},\"maxHeight\":180},\"legend\":{\"type\":\"none\",\"show_title\":false,\"title\":\"\",\"template\":\"\",\"visible\":true},\"order\":1,\"visible\":true,\"options\":{\"layer_name\":\"istat_upl\",\"cartocss\":\"/** simple visualization */\\n\\n#istat_upl{\\n polygon-fill: #FF6600;\\n polygon-opacity: 0;\\n line-color: #FFF;\\n line-width: 1.5;\\n line-opacity: 0.5;\\n}\",\"cartocss_version\":\"2.1.1\",\"interactivity\":\"cartodb_id,circoscrizione,datawrapper,fid,id_quartiere,quartiere,upl,upl_nome\",\"sql\":\"select * from istat_upl\",\"table_name\":\"\\\"\\\".\"}},{\"id\":\"00f9fb7d-6b50-4e9f-915f-a233faa4c17f\",\"type\":\"CartoDB\",\"infowindow\":{\"fields\":[],\"template_name\":\"table/views/infowindow_light\",\"template\":\"\\u003cdiv class=\\\"cartodb-popup v2\\\"\\u003e\\n \\u003ca href=\\\"#close\\\" class=\\\"cartodb-popup-close-button close\\\"\\u003ex\\u003c/a\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-content-wrapper\\\"\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-content\\\"\\u003e\\n {{#content.fields}}\\n {{#title}}\\u003ch4\\u003e{{title}}\\u003c/h4\\u003e{{/title}}\\n {{#value}}\\n \\u003cp {{#type}}class=\\\"{{ type }}\\\"{{/type}}\\u003e{{{ value }}}\\u003c/p\\u003e\\n {{/value}}\\n {{^value}}\\n \\u003cp class=\\\"empty\\\"\\u003enull\\u003c/p\\u003e\\n {{/value}}\\n {{/content.fields}}\\n \\u003c/div\\u003e\\n \\u003c/div\\u003e\\n \\u003cdiv class=\\\"cartodb-popup-tip-container\\\"\\u003e\\u003c/div\\u003e\\n\\u003c/div\\u003e\\n\",\"alternative_names\":{},\"width\":226,\"maxHeight\":180},\"tooltip\":{\"fields\":[],\"template_name\":\"tooltip_light\",\"template\":\"\\u003cdiv class=\\\"cartodb-tooltip-content-wrapper\\\"\\u003e\\n \\u003cdiv class=\\\"cartodb-tooltip-content\\\"\\u003e\\n {{#fields}}\\n {{#title}}\\n \\u003ch4\\u003e{{title}}\\u003c/h4\\u003e\\n {{/title}}\\n \\u003cp\\u003e{{{ value }}}\\u003c/p\\u003e\\n {{/fields}}\\n \\u003c/div\\u003e\\n\\u003c/div\\u003e\",\"alternative_names\":{},\"maxHeight\":180},\"legend\":{\"type\":\"category\",\"show_title\":false,\"title\":\"\",\"template\":\" \\u003cdiv class=\\\"cartodb-tooltip-content\\\"\\u003e\\n \\u003ch4\\u003eAree Geopolitiche di provenienza\\u003ch4\\u003e\\n \\u003c/div\\u003e\\n\\n\\u003cdiv class=\'cartodb-legend category\'\\u003e\\t\\n\\n\\n\\u003cul\\u003e\\n \\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #940000\\\"\\u003e\\u003c/div\\u003e Africa settentrionale | Northern Africa - 2.185\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #ff0000\\\"\\u003e\\u003c/div\\u003e Africa subsahariana | Sub-Saharan Africa | 5.878\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #ffd1dc\\\"\\u003e\\u003c/div\\u003e America Latina e Caraibi | Latin America and the Caribbean - 608\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #ffff00\\\"\\u003e\\u003c/div\\u003e Asia meridionale | Southern Asia - 8.812\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #ff00ff\\\"\\u003e\\u003c/div\\u003e Asia orientale | Eastern Asia - 1.008\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #191ad4\\\"\\u003e\\u003c/div\\u003e Asia sud-orientale | South-eastern Asia - 1.798\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #00ffff\\\"\\u003e\\u003c/div\\u003e Unione Europea | EU 27 - 4.063\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n \\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #FF7F00\\\"\\u003e\\u003c/div\\u003e Stati fuori dall\'Unione | Europeans out of EU - 685\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n \\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003cli\\u003e\\n\\n\\n\\n\\n\\t\\t\\u003cdiv class=\\\"bullet\\\" style=\\\"background: #d2d2d2\\\"\\u003e\\u003c/div\\u003e Altre Subregioni | Other Subregion - 408\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\u003c/li\\u003e\\n\\n\\n\\n\\n\\u003c/ul\\u003e\\n\\n\\n\\u003cbr\\u003e \\u003chr\\u003e\\n \\u003cbr\\u003e\\nElaborazione by \\u003ca href=\\\"https://opendatasicilia.it/\\\" title=\\\"OpenDataSicilia\\\" target=\\\"_blank\\\"\\u003eOpenDataSicilia\\n\\u003c/a\\u003e\\n\\u003c/div\\u003e\",\"visible\":true,\"items\":[{\"name\":\"Africa settentrionale | Northern Africa - 2.185\",\"visible\":true,\"value\":\"#940000\"},{\"name\":\"Africa subsahariana | Sub-Saharan Africa | 5.878\",\"visible\":true,\"value\":\"#ff0000\"},{\"name\":\"Altre Subregioni | Other Subregion - 408\",\"visible\":true,\"value\":\"#d2d2d2\"},{\"name\":\"America Latina e Caraibi | Latin America and the Caribbean - 608\",\"visible\":true,\"value\":\"#ffd1dc\"},{\"name\":\"Asia meridionale | Southern Asia - 8.812\",\"visible\":true,\"value\":\"#ffff00\"},{\"name\":\"Asia orientale | Eastern Asia - 1.008\",\"visible\":true,\"value\":\"#E31A1C\"},{\"name\":\"Asia sud-orientale | South-eastern Asia - 1.798\",\"visible\":true,\"value\":\"#191ad4\"},{\"name\":\"Stati fuori dall\'Unione | Europeans out of EU - 685\",\"visible\":true,\"value\":\"#ff9900\"},{\"name\":\"Unione Europea | EU 27 - 4.063\",\"visible\":true,\"value\":\"#00ffff\"}]},\"order\":2,\"visible\":true,\"options\":{\"layer_name\":\"subregioni_melting_pot_2020\",\"cartocss\":\"/** category visualization */\\n\\n#subregioni_melting_pot_2020 {\\n marker-fill-opacity: 1;\\n marker-line-color: #FFF;\\n marker-line-width: 10;\\n marker-line-opacity: 0;\\n marker-placement: point;\\n marker-type: ellipse;\\n marker-width: 1.5;\\n marker-allow-overlap: true;\\n}\\n\\n#subregioni_melting_pot_2020[subregioni=\\\"Africa settentrionale | Northern Africa - 2.185\\\"] {\\n marker-fill: #940000;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Africa subsahariana | Sub-Saharan Africa | 5.878\\\"] {\\n marker-fill: #ff0000;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Altre Subregioni | Other Subregion - 408\\\"] {\\n marker-fill: #d2d2d2;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"America Latina e Caraibi | Latin America and the Caribbean - 608\\\"] {\\n marker-fill: #ffd1dc;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Asia meridionale | Southern Asia - 8.812\\\"] {\\n marker-fill: #ffff00;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Asia orientale | Eastern Asia - 1.008\\\"] {\\n marker-fill: #E31A1C;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Asia sud-orientale | South-eastern Asia - 1.798\\\"] {\\n marker-fill: #191ad4;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Stati fuori dall\'Unione | Europeans out of EU - 685\\\"] {\\n marker-fill: #ff9900;\\n}\\n#subregioni_melting_pot_2020[subregioni=\\\"Unione Europea | EU 27 - 4.063\\\"] {\\n marker-fill: #00ffff;\\n}\",\"cartocss_version\":\"2.1.1\",\"interactivity\":\"cartodb_id\",\"sql\":\"select * from subregioni_melting_pot_2020\",\"table_name\":\"\\\"\\\".\"}}]},\"attribution\":\"\"}}],\"overlays\":[{\"type\":\"text\",\"order\":1,\"options\":{\"x\":82,\"y\":51,\"device\":\"desktop\",\"display\":true,\"style\":{\"z-index\":4,\"color\":\"#ffffff\",\"text-align\":\"left\",\"font-size\":14,\"font-family-name\":\"Helvetica\",\"box-padding\":10,\"box-color\":\"#000000\",\"box-opacity\":0,\"box-width\":300},\"extra\":{\"pLeft\":\"50\",\"pTop\":\"50\",\"landscapeDirection\":\"left\",\"portraitDirection\":\"top\",\"text\":\"one-person-one-dot\",\"rendered_text\":\"one-person-one-dot\",\"default_position\":false,\"landscape_dominant_side\":\"left\",\"portrait_dominant_side\":\"top\",\"top_percentage\":3.7787513691128147,\"left_percentage\":8.406352683461117,\"right_position\":1601,\"bottom_position\":699,\"right\":1744,\"bottom\":735,\"width\":143,\"height\":36}},\"template\":null},{\"type\":\"image\",\"order\":1,\"options\":{\"x\":12,\"y\":652,\"device\":\"desktop\",\"display\":true,\"style\":{\"z-index\":4,\"box-color\":\"#000000\",\"box-opacity\":0,\"box-width\":50},\"extra\":{\"has_default_image\":false,\"url\":\"https://raw.githubusercontent.com/opendatasicilia/Palermo2018/gh-pages/img/ods_logo_esa.png\",\"rendered_text\":\"\\u003cimg src=\'https:\\u0026#x2F;\\u0026#x2F;raw.githubusercontent.com\\u0026#x2F;opendatasicilia\\u0026#x2F;Palermo2018\\u0026#x2F;gh-pages\\u0026#x2F;img\\u0026#x2F;ods_logo_esa.png\' style=\'width: 50px\'/\\u003e\",\"default_image_url\":\"//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/1.0.0-assets.92/images/layout/overlay_placeholder.png\",\"public_default_image_url\":\"//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/1.0.0-assets.92/images/layout/overlay_placeholder_cartofante.png\",\"default_position\":false,\"landscape_dominant_side\":\"left\",\"portrait_dominant_side\":\"bottom\",\"top_percentage\":37.62322015334064,\"left_percentage\":2.573932092004381,\"right_position\":1744,\"bottom_position\":64,\"right\":1814,\"bottom\":134,\"width\":70,\"height\":70}},\"template\":null},{\"type\":\"text\",\"order\":1,\"options\":{\"x\":82,\"y\":15,\"device\":\"desktop\",\"display\":true,\"style\":{\"z-index\":4,\"color\":\"#ffffff\",\"text-align\":\"left\",\"font-size\":28,\"font-family-name\":\"Helvetica\",\"box-padding\":10,\"box-color\":\"#000000\",\"box-opacity\":0,\"box-width\":500},\"extra\":{\"landscapeDirection\":\"left\",\"pTop\":0,\"pLeft\":0,\"portraitDirection\":\"top\",\"text\":\"Residenti stranieri a Palermo | 2020\",\"rendered_text\":\"Residenti stranieri a Palermo | 2020\",\"default_position\":false,\"landscape_dominant_side\":\"left\",\"portrait_dominant_side\":\"top\",\"top_percentage\":2.272727272727273,\"left_percentage\":17.223439211391018,\"right_position\":1279,\"bottom_position\":718,\"right\":1744,\"bottom\":771,\"width\":465,\"height\":53}},\"template\":null},{\"type\":\"share\",\"order\":2,\"options\":{\"x\":20,\"y\":20,\"display\":true},\"template\":null},{\"type\":\"search\",\"order\":3,\"options\":{\"display\":true,\"x\":60,\"y\":20},\"template\":\"\"},{\"type\":\"layer_selector\",\"order\":4,\"options\":{\"x\":220,\"y\":20,\"display\":true},\"template\":null},{\"type\":\"zoom\",\"order\":6,\"options\":{\"x\":20,\"y\":20,\"display\":true},\"template\":\"\\u003ca href=\\\"#zoom_in\\\" class=\\\"zoom_in\\\"\\u003e+\\u003c/a\\u003e \\u003ca href=\\\"#zoom_out\\\" class=\\\"zoom_out\\\"\\u003e-\\u003c/a\\u003e\"},{\"type\":\"fullscreen\",\"order\":7,\"options\":{\"x\":20,\"y\":140,\"display\":true},\"template\":null},{\"type\":\"loader\",\"order\":8,\"options\":{\"display\":true,\"x\":20,\"y\":150},\"template\":\"\\u003cdiv class=\\\"loader\\\" original-title=\\\"\\\"\\u003e\\u003c/div\\u003e\"},{\"type\":\"logo\",\"order\":9,\"options\":{\"display\":true,\"x\":10,\"y\":40},\"template\":\"\"}],\"prev\":null,\"next\":null,\"transition_options\":{\"time\":0}}'), opt, function(vis) {
visReadyTime.end();
vis.on('load', function() {
loadingTime.end();
});
window.vis = vis;
// fixes default position of the overlays
setTimeout(function() {
$(window).trigger("map_resized");
}, 400);
// some stats
stats();
}).on('error', manageError);
});
//<!-- load stats -->
</script>
</body>
</html>