{"id":127613,"date":"2021-04-15T22:04:42","date_gmt":"2021-04-16T02:04:42","guid":{"rendered":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/%e1%8a%ab%e1%88%ad%e1%89%b3\/"},"modified":"2026-02-02T12:46:11","modified_gmt":"2026-02-02T17:46:11","slug":"%e1%8a%ab%e1%88%ad%e1%89%b3","status":"publish","type":"page","link":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/%e1%8a%ab%e1%88%ad%e1%89%b3\/","title":{"rendered":"\u12ab\u122d\u1273"},"content":{"rendered":"<div id='av_section_1'  class='avia-section main_color avia-section-no-padding avia-no-border-styling  avia-bg-style-scroll  avia-builder-el-0  avia-builder-el-no-sibling  ep-dummy-class-127613-1-x  avia-section-fwd container_wrap fullsize' style='  '   ><div class='container' style=><main  class='template-page content  av-content-full alpha units' ><div class='post-entry post-entry-type-page post-entry-127613'><div class='entry-content-wrapper clearfix'>\n\n\t\t\t<link rel='stylesheet' id='mapbox-gl-css-css' href='https:\/\/api.mapbox.com\/mapbox-gl-js\/v2.1.1\/mapbox-gl.css?ver=2.1.1' type='text\/css' media='all' \/>\n\t\t\t<script type=\"text\/javascript\" src=\"https:\/\/api.mapbox.com\/mapbox-gl-js\/v2.1.1\/mapbox-gl.js?ver=2.1.1\" id=\"mapbox-gl-js-js\"><\/script>\n\n\t\t<div  class='ep-mapbox-map   avia-builder-el-1  avia-builder-el-no-sibling  ep-dummy-class-127613-2-x'>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"ep-mapbox-map-text-simple\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ep-mapbox-map-title\">\n\t\t\t\t\t\t\t\t\u12c8\u122e\u1273 \u1260\u12d3\u1208\u121d \u12d9\u122a\u12eb\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ep-mapbox-map-description\">\n\t\t\t\t\t\t\t\t\u1208\u12a5\u12eb\u1295\u12f3\u1295\u12f1 \u12ad\u120d\u120d \u12e8\u12c8\u122e\u1273 \u1208\u134d\u1275\u1215 \u12ad\u134d\u12eb\u12ce\u127d\u1295 \u1208\u121b\u12e8\u1275 \u1260\u12a2\u1295\u1270\u122b\u12ad\u1272\u126d \u12ab\u122d\u1273\u12cd \u120b\u12ed \u12ad\u120a\u12ad \u12eb\u12f5\u122d\u1309\u1361\u1361\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div id=\"ep-mapbox-map-1\" style=\"width:100%; height: 800px;\" class=\"mapboxgl-map\"><\/div>\n\t\t<\/div>\n\n\t\t\t<style>\n\t\t\t\t#ep-mapbox-map-1 .mapboxgl-popup {\n\t\t\t\t\tmax-width: 400px;\n\t\t\t\t\tfont-family: 'Montserrat', 'Helvetica', sans-serif;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #0A314D;\n\t\t\t\t}\n\t\t\t<\/style>\n\n\t\t\t<script>\n\t\t\t(function() {\n\t\t\t\t\/\/ Use onload event to detect when Mapbox is ready (more efficient than polling)\n\t\t\t\tvar mapInstanceId = 1;\n\t\t\t\tvar loadedFlag = 'mapboxLoaded_' + mapInstanceId;\n\n\t\t\t\tfunction initMap() {\n\t\t\t\t\t\/\/ Map configuration\n\t\t\t\t\tvar mapId = 'ep-mapbox-map-1';\n\t\t\t\t\tvar accessToken = 'pk.eyJ1IjoiY2F0dnNkIiwiYSI6ImNreWwwb3hoeTBqMjUzMG43NGlpcWtlMWwifQ.RzbPZYqA15A2TR7R5Z26Ww';\n\t\t\t\t\tvar styleUrl = 'mapbox:\/\/styles\/catvsd\/ckyl0rujj0k9914o8rsgfshxi';\n\t\t\t\t\tvar zoom = 1;\n\t\t\t\t\tvar disableScrollZoom = true;\n\t\t\t\t\t\n\t\t\t\t\t\/\/ GeoJSON URL configuration\n\t\t\t\t\tvar geojsonUrl = 'https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/wp-content\/uploads\/geojson';\n\t\t\t\t\t\n\t\t\t\t\tvar regionUrls = {\n\t\t\t\t\t\twesternHemisphere: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=864\",\n\t\t\t\t\t\tafricaSubSahara: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=859\",\n\t\t\t\t\t\teastAsiaPacific: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=860\",\n\t\t\t\t\t\teuropeAndEurasia: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=1067\",\n\t\t\t\t\t\tmiddleEastNorthAfrica: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=862\",\n\t\t\t\t\t\tsouthAndCentralAsia: \"https:\\\/\\\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\\\/am\\\/index\\\/?region=863\"\t\t\t\t\t};\n\n\t\t\t\t\t\/\/ Set access token\n\t\t\t\t\tmapboxgl.accessToken = accessToken;\n\n\t\t\t\t\t\/\/ DEBUG: Log scroll zoom settings\n\t\t\t\t\tconsole.log('=== MAPBOX DEBUG ===');\n\t\t\t\t\tconsole.log('disableScrollZoom variable:', disableScrollZoom);\n\t\t\t\t\tconsole.log('disableScrollZoom type:', typeof disableScrollZoom);\n\t\t\t\t\tconsole.log('PHP $disable_scroll_zoom value: aviaTBdisable_scroll_zoom');\n\n\t\t\t\t\t\/\/ Initialize map\n\t\t\t\t\tvar mapOptions = {\n\t\t\t\t\t\tcontainer: mapId,\n\t\t\t\t\t\tstyle: styleUrl,\n\t\t\t\t\t\tzoom: zoom,\n\t\t\t\t\t\ttestMode: false,\n\t\t\t\t\t};\n\n\t\t\t\t\t\/\/ Disable scroll zoom if configured\n\t\t\t\t\tif (disableScrollZoom) {\n\t\t\t\t\t\tmapOptions.scrollZoom = false;\n\t\t\t\t\t\tmapOptions.cooperativeGestures = true;\n\t\t\t\t\t\tconsole.log('Scroll zoom DISABLED - added scrollZoom: false and cooperativeGestures: true');\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.log('Scroll zoom ENABLED - disableScrollZoom was falsy');\n\t\t\t\t\t}\n\n\t\t\t\t\tconsole.log('Final mapOptions:', JSON.stringify(mapOptions, null, 2));\n\n\t\t\t\t\tvar map = new mapboxgl.Map(mapOptions);\n\n\t\t\t\t\t\/\/ DEBUG: Check map scroll zoom status after initialization\n\t\t\t\t\tmap.on('load', function() {\n\t\t\t\t\t\tconsole.log('Map loaded - scrollZoom enabled:', map.scrollZoom.isEnabled());\n\t\t\t\t\t\tconsole.log('=== END MAPBOX DEBUG ===');\n\t\t\t\t\t});\n\n\t\t\t\t\t\/\/ Add navigation controls\n\t\t\t\t\tmap.addControl(new mapboxgl.NavigationControl());\n\n\t\t\t\t\t\/\/ Pop-up information (translated via WPML)\n\t\t\t\t\tvar popupContent = [\n\t\t\t\t\t\t\/\/ Western Hemisphere Region\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [-99.31640625000023, 44.90973623453772],\n\t\t\t\t\t\t\tdescription: \"<strong>\u121d\u12d5\u122b\u1263\u12ca \u1295\u134d\u1240 \u12ad\u1260\u1265<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\/\/ Africa (Sub-Sahara) Region\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [24.082031249999204, 2.1088986592442893],\n\t\t\t\t\t\t\tdescription: \"<strong>\u12a0\u134d\u122a\u12ab - \u12a8\u1230\u1203\u122b \u1260\u1273\u127d<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\/\/ East Asia and Pacific Region\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [105.29296874999898, 36.95216223802622],\n\t\t\t\t\t\t\tdescription: \"<strong>\u121d\u1235\u122b\u1245 \u12a0\u1235\u12eb \u12a0\u1293 \u1353\u1235\u122b\u12ad<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\/\/ Europe and Eurasia\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [89.82421874999926, 65.26792262941822],\n\t\t\t\t\t\t\tdescription: \"<strong>\u12a0\u12cd\u122e\u1353 \u12a5\u1293 \u12e9\u122b\u123a\u12eb<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\/\/ Near East - North Africa and the Middle East\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [6.01171874999909, 33.3043806829633],\n\t\t\t\t\t\t\tdescription: \"<strong>\u121d\u1235\u122b\u1245 \u12a0\u1245\u122b\u1262\u12eb - \u1230\u121c\u1295 \u12a0\u134d\u122a\u12ab \u12a5\u1293 \u1218\u12ab\u12a8\u1208\u129b\u12cd \u121d\u1235\u122b\u1245<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\/\/ South and Central Asia\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcoordinates: [64.86328124999929, 49.3367019099685],\n\t\t\t\t\t\t\tdescription: \"<strong>\u12f0\u1261\u1265 \u12a5\u1293 \u1218\u12ab\u12a8\u1208\u129b\u12cd \u12a5\u1235\u12eb<\/strong>\",\n\t\t\t\t\t\t},\n\t\t\t\t\t];\n\n\t\t\t\t\t\/\/ Set up map layers and interactions when map loads\n\t\t\t\t\tmap.on(\"load\", function () {\n\t\t\t\t\t\t\/\/ Create a popup\n\t\t\t\t\t\tvar popup = new mapboxgl.Popup({\n\t\t\t\t\t\t\tcloseButton: false,\n\t\t\t\t\t\t\tcloseOnClick: false,\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\/\/ Helper function to attach events for a region\n\t\t\t\t\t\tfunction setupRegionEvents(sourceId, layerId, borderLayerId, popupIndex, url) {\n\t\t\t\t\t\t\tfunction attachEvents() {\n\t\t\t\t\t\t\t\t\/\/ Remove existing listeners to avoid duplicates\n\t\t\t\t\t\t\t\tmap.off(\"mousemove\", layerId);\n\t\t\t\t\t\t\t\tmap.off(\"mouseleave\", layerId);\n\t\t\t\t\t\t\t\tmap.off(\"click\", layerId);\n\n\t\t\t\t\t\t\t\t\/\/ Event MouseMove\n\t\t\t\t\t\t\t\tmap.on(\"mousemove\", layerId, function (e) {\n\t\t\t\t\t\t\t\t\tmap.setPaintProperty(layerId, \"fill-opacity\", 0.8);\n\t\t\t\t\t\t\t\t\tmap.setPaintProperty(borderLayerId, \"line-width\", 2);\n\t\t\t\t\t\t\t\t\tmap.getCanvas().style.cursor = \"pointer\";\n\t\t\t\t\t\t\t\t\tpopup\n\t\t\t\t\t\t\t\t\t\t.setLngLat(popupContent[popupIndex].coordinates)\n\t\t\t\t\t\t\t\t\t\t.setHTML(popupContent[popupIndex].description)\n\t\t\t\t\t\t\t\t\t\t.addTo(map);\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\/\/ Event MouseLeave\n\t\t\t\t\t\t\t\tmap.on(\"mouseleave\", layerId, function () {\n\t\t\t\t\t\t\t\t\tmap.setPaintProperty(layerId, \"fill-opacity\", 0.1);\n\t\t\t\t\t\t\t\t\tmap.setPaintProperty(borderLayerId, \"line-width\", 0);\n\t\t\t\t\t\t\t\t\tmap.getCanvas().style.cursor = \"\";\n\t\t\t\t\t\t\t\t\tpopup.remove();\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\/\/ Event onClick\n\t\t\t\t\t\t\t\tmap.on(\"click\", layerId, function (e) {\n\t\t\t\t\t\t\t\t\twindow.open(url, \"_blank\");\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Listen for when source data loads\n\t\t\t\t\t\t\tmap.once('data', function(e) {\n\t\t\t\t\t\t\t\tif (e.sourceId === sourceId && e.isSourceLoaded) {\n\t\t\t\t\t\t\t\t\tattachEvents();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\/\/ Also try attaching immediately (in case data is already loaded)\n\t\t\t\t\t\t\tattachEvents();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information Western Hemisphere\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"westernHemisphere\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/westernHemisphere.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsWH\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"westernHemisphere\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"bordersWH\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"westernHemisphere\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"westernHemisphere\", \"fillsWH\", \"bordersWH\", 0, regionUrls.westernHemisphere);\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information Africa (Sub-Sahara)\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"africaSubSahara\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/africaSubSahara.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsAS\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"africaSubSahara\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"bordersAS\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"africaSubSahara\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"africaSubSahara\", \"fillsAS\", \"bordersAS\", 1, regionUrls.africaSubSahara);\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information East Asia and Pacific Region\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"eastAsiaPacific\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/eastAsiaPacific.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsEAP\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"eastAsiaPacific\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"borderEAP\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"eastAsiaPacific\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"eastAsiaPacific\", \"fillsEAP\", \"borderEAP\", 2, regionUrls.eastAsiaPacific);\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information Europe and Eurasia Region\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"europeAndEurasia\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/europeAndEurasia.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsEAE\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"europeAndEurasia\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"borderEAE\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"europeAndEurasia\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"europeAndEurasia\", \"fillsEAE\", \"borderEAE\", 3, regionUrls.europeAndEurasia);\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information Near East (Middle East and North Africa) Region\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"middleEastNorthAfrica\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/middleEastNorthAfrica.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsMENA\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"middleEastNorthAfrica\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"borderMENA\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"middleEastNorthAfrica\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"middleEastNorthAfrica\", \"fillsMENA\", \"borderMENA\", 4, regionUrls.middleEastNorthAfrica);\n\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * Data information South and Central Asia Region\n\t\t\t\t\t\t **\/\n\t\t\t\t\t\tmap.addSource(\"southAndCentralAsia\", {\n\t\t\t\t\t\t\ttype: \"geojson\",\n\t\t\t\t\t\t\tdata: geojsonUrl + \"\/southAndCentralAsia.json\",\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"fillsSCA\",\n\t\t\t\t\t\t\ttype: \"fill\",\n\t\t\t\t\t\t\tsource: \"southAndCentralAsia\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"fill-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"fill-opacity\": 0.1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tmap.addLayer({\n\t\t\t\t\t\t\tid: \"borderSCA\",\n\t\t\t\t\t\t\ttype: \"line\",\n\t\t\t\t\t\t\tsource: \"southAndCentralAsia\",\n\t\t\t\t\t\t\tpaint: {\n\t\t\t\t\t\t\t\t\"line-color\": \"#488ACB\",\n\t\t\t\t\t\t\t\t\"line-width\": 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsetupRegionEvents(\"southAndCentralAsia\", \"fillsSCA\", \"borderSCA\", 5, regionUrls.southAndCentralAsia);\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/\/ Check if Mapbox is already loaded (script onload already fired)\n\t\t\t\tif (window[loadedFlag] || (typeof mapboxgl !== 'undefined' && typeof mapboxgl.Map !== 'undefined')) {\n\t\t\t\t\tinitMap();\n\t\t\t\t} else {\n\t\t\t\t\t\/\/ Wait for onload event using a more efficient requestAnimationFrame-based check\n\t\t\t\t\tvar checkInterval;\n\t\t\t\t\tfunction checkMapboxLoaded() {\n\t\t\t\t\t\tif (window[loadedFlag] || (typeof mapboxgl !== 'undefined' && typeof mapboxgl.Map !== 'undefined')) {\n\t\t\t\t\t\t\tinitMap();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcheckInterval = requestAnimationFrame(checkMapboxLoaded);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcheckInterval = requestAnimationFrame(checkMapboxLoaded);\n\t\t\t\t}\n\t\t\t})();\n\t\t\t<\/script>\n\n\t\t\t\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":67,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ep_exclude_from_search":false,"footnotes":""},"class_list":["post-127613","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/pages\/127613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/comments?post=127613"}],"version-history":[{"count":1,"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/pages\/127613\/revisions"}],"predecessor-version":[{"id":213609,"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/pages\/127613\/revisions\/213609"}],"wp:attachment":[{"href":"https:\/\/38ec3b35-6f9f-491a-bc0d-08b6c6f4d58c.rfj.tips\/am\/wp-json\/wp\/v2\/media?parent=127613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}