body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
body {
overflow: hidden;
}
.page-detail{
width: 100% !important;
}
.container{
width: 100% !important;
}
body * {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
height: 800px;
}
mapboxgl.accessToken = 'pk.eyJ1IjoidWF2aWF0b3JzIiwiYSI6IlpqZEx2UzgifQ.o6vACHfsO6CTk2yluUZwUA';
var beforeMap = new mapboxgl.Map({
container: 'before',
style: 'mapbox://styles/uaviators/cj8zuhz251c262rmoq6cq2nr5',
center: [0, 0],
zoom: 0
});
var afterMap = new mapboxgl.Map({
container: 'after',
style: 'mapbox://styles/uaviators/cja42483e27u02qljefp20dzp',
center: [0, 0],
zoom: 0
});
var map = new mapboxgl.Compare(beforeMap, afterMap, {
// Set this to enable comparing two maps by mouse movement:
// mousemove: true
});
-
Countries
-
Data and Analysis
-
Special Focus
-
Crisis Responses