Skip to Navigation
Skip to content
Regional and Mesoscale Meteorology Branch
Show Menu
Home
Real-Time Data
SLIDER
TC Real-Time
RAMSDIS
TC Genesis
Research Projects
GOES-R Research
JPSS VIIRS Calibration/Validation and Visualization
Tropical Cyclones
Artificial Intelligence & Machine Learning
Training/Outreach
International
SHyMet
VISIT
Resources
Acronyms
Blogs
Contact Directory
Publications
Personnel
Staff Login
Search the RAMMB website
Search for:
Top searched terms:
Training and Outreach
SLIDER
Loop of the Day
Calibration/Validation and Visualization
GOES-R Proving Ground
NWS X.COM Links
document.addEventListener(“DOMContentLoaded”, function () { var map = L.map(‘map’).setView([39.8283, -98.5795], 4); // Center of US L.tileLayer(‘https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png’, { attribution: ‘© OpenStreetMap contributors’ }).addTo(map); var geojsonUrl = ‘https://services.nationalmap.gov/arcgis/rest/services/geoplatform/NWSBoundaries/MapServer/1/query?where=1%3D1&outFields=*&outSR=4326&f=geojson’; fetch(geojsonUrl) .then(response => response.json()) .then(data => { L.geoJSON(data, { style: { color: “blue”, weight: 1, fillOpacity: 0.2 }, onEachFeature: function (feature, layer) { let cwa = feature.properties.CWA; let twitterUrl = `https://twitter.com/NWS${cwa}`; layer.bindPopup(`
${cwa} NWS Office
Go to Twitter
`); layer.on(‘click’, function () { window.open(twitterUrl, ‘_blank’); }); } }).addTo(map); }) .catch(error => console.error(‘Error loading CWA data:’, error)); }); #map { height: 90vh; width: 100%; }