Satellite Image Globe
A 3D globe covered with a satellite image of the whole Earth, turning slowly on its own. The image is redrawn to fit the globe at every turn and zoom, with the country borders on top.
About this map
Satellite images on a map
A raster series takes one picture of the whole world, in the flat form satellite images come in, and redraws it for the map's projection whenever the globe turns or zooms. Where the browser has WebGL2, the graphics card does the redrawing. Borders, points and lines go on top as on any map, so the picture becomes a backdrop for your own data.
Good for
- Landing pages and stories that open on the Earth
- A real-world backdrop for routes and places
- Weather, climate and travel themes
Think twice when
- Comparing countries by value: color them on a plain map
- Slow connections: the image adds about 300 KB
- Data in pale colors: the busy image drowns it, dim the image or use strong colors
For developers
Get the code.
Built with amCharts 5, a JavaScript library. The JavaScript includes your theme and renderer (canvas or SVG); the JSON also follows the changes you make with the controls.
For projects that use npm:
How it reads:
Using Claude or ChatGPT? Install the amCharts plugin first (Claude, ChatGPT), so it works from our docs and examples.
npm install @amcharts/amcharts5 and @amcharts/amcharts5-geodata. See Getting started.
The same chart as a JSON config. Chart Maker reads and writes this format, the library's JSON parser turns it into a chart, and the <am5-chart> element puts it on a page with no code.How it reads:
"type" is the class to create and "settings" what you would pass to its new() in code; "properties" fill in its parts, lists such as series and axes or templates such as columns.template; "refs" holds objects used in more than one place ("#series-0" stands for the one named series-0); a string starting with "@" takes a value from another object, such as "@series.get('fill')".
A complete page. Save it as an .html file and open it in a browser.
Paste this into an AI coding assistant to build the chart from scratch. More in amCharts & AI.Using Claude or ChatGPT? Install the amCharts plugin first (Claude, ChatGPT), so it works from our docs and examples.
// Create root element
// https://docs.amcharts.com/v5/getting-started/#root-element
var root = am5.Root.new("chartdiv");
// Set themes
// https://docs.amcharts.com/v5/concepts/themes/
var responsive = am5themes_ResponsiveMax.new(root); // kept in a variable: a rule of its own is added below
root.setThemes([
am5themes_Animated.new(root),
responsive
]);
// The buttons (the zoom control) in a dark slate that suits the night sky, instead of the default blue
root.interfaceColors.setAll({
primaryButton: am5.color(0x2a3042),
primaryButtonHover: am5.color(0x3a4259),
primaryButtonDown: am5.color(0x485170),
primaryButtonActive: am5.color(0x485170),
primaryButtonStroke: am5.color(0x4a5370),
primaryButtonText: am5.color(0xe6e8f0),
primaryButtonDisabled: am5.color(0x1c2030), // the minus button, zoomed out as far as it goes
primaryButtonTextDisabled: am5.color(0x5c6278)
});
// Create the map chart: a globe that turns once every two minutes
// https://docs.amcharts.com/v5/charts/map-chart/
var chart = root.container.children.push(am5map.MapChart.new(root, {
projection: am5map.geoOrthographic(), // a globe, seen from space
panX: "rotateX", // a sideways drag spins the globe
panY: "rotateY", // an up or down drag tilts it
// start far away and zoom in to the home zoom, 90% (room for the glow), once the globe is fitted; zooming out stops
// at half size
zoomLevel: 0.1,
homeZoomLevel: 0.9,
autoHome: true,
minZoomLevel: 0.5,
animations: [ // animations the chart plays by itself
// a full turn every 2 minutes at a steady speed; loops: 0 repeats it forever
{ key: "rotationX", from: 0, to: 360, duration: 120000, loops: 0 }
]
}));
// Create series for a soft blue glow around the globe, like the atmosphere
// https://docs.amcharts.com/v5/charts/map-chart/map-polygon-series/#background-polygon
var glowSeries = chart.series.push(am5map.MapPolygonSeries.new(root, {}));
glowSeries.mapPolygons.template.setAll({
fill: am5.color(0x0b1a33), // dark blue, behind the picture
fillOpacity: 1, // solid
strokeOpacity: 0, // no outline
shadowColor: am5.color(0x6fa8ff), // a light blue shadow around the edge is the glow...
shadowBlur: 40, // ...blurred 40px out...
shadowOpacity: 0.7 // ...and fairly strong
});
// one polygon that covers the whole Earth, so its shadow rings the globe
glowSeries.data.push({
geometry: am5map.getGeoRectangle(90, 180, -90, -180)
});
// Add the satellite image: a picture of the whole world, redrawn to fit the
// globe as it turns. It is read from the amCharts CDN
var rasterSeries = chart.series.push(am5map.MapRasterSeries.new(root, {
src: "https://cdn.amcharts.com/lib/5/geodata/images/earthDay2048.jpg"
}));
// Add country borders over the image, with the country's name on hover
// https://docs.amcharts.com/v5/charts/map-chart/map-polygon-series/
var polygonSeries = chart.series.push(am5map.MapPolygonSeries.new(root, {
geoJSON: am5geodata_worldLow // country shapes from the low-detail world map
}));
polygonSeries.mapPolygons.template.setAll({
fillOpacity: 0, // no fill: the picture shows through
stroke: am5.color(0xffffff), // white borders...
strokeWidth: 0.5, // ...thin...
strokeOpacity: 0.6, // ...and a little see-through
tooltipText: "{name}"
});
// Add image credit, at the top right, clear of the zoom buttons
var credit = chart.children.push(am5.Label.new(root, {
text: "Imagery: NASA Earth Observatory",
fontSize: 12, // small print
fill: am5.color(0xffffff), // white, over the picture
fillOpacity: 0.6, // a little see-through
x: am5.p100, // at the chart's right edge...
centerX: am5.p100, // ...lined up by the label's own right side
dx: -10, // 10px in from the edge
y: 10 // 10px from the top
}));
// Add zoom control
// https://docs.amcharts.com/v5/charts/map-chart/map-pan-zoom/#zoom-control
var zoomControl = chart.set("zoomControl", am5map.ZoomControl.new(root, {}));
// the home button is hidden by default
zoomControl.homeButton.set("visible", true);
// On a narrow chart (a phone) the globe takes the whole height and the top right corner is no longer free:
// the credit moves to the bottom left corner, in smaller type on two lines. The rule is undone on a wider chart
responsive.addRule({
relevant: function (width) { return width < 600; }, // the chart is under 600px wide
applying: function () {
credit.setAll({
x: 0, centerX: 0, dx: 10, // 10px in from the left edge...
y: am5.p100, centerY: am5.p100, dy: -10, // ...and from the bottom
fontSize: 10, // smaller print
maxWidth: 100, oversizedBehavior: "wrap" // wrapped at 100px, two lines
});
},
removing: function () {
credit.setAll({
x: am5.p100, centerX: am5.p100, dx: -10,
y: 10, centerY: 0, dy: 0,
fontSize: 12,
maxWidth: undefined, oversizedBehavior: "none"
});
}
});
// Accessibility: keyboard and screen reader support
// https://docs.amcharts.com/v5/concepts/accessibility/
chart.setAll({
focusable: true, // Tab reaches the globe, and a screen reader names it
role: "figure",
ariaLabel: "Globe covered with a satellite image of the Earth, turning slowly, with the country borders on top. Tab to the countries, then move between them with the arrow keys"
});
// the countries: one Tab stop (a focusable group), the arrow keys step through them
polygonSeries.mapPolygons.template.setAll({
focusable: true,
focusableGroup: "countries",
hoverOnFocus: true, // a focused country shows its tooltip
ariaLabel: "{name}"
});
// Make stuff animate on load
// https://docs.amcharts.com/v5/concepts/animations/
chart.appear(1000, 100);
{
"type": "MapChart",
"settings": {
"panX": "rotateX",
"panY": "rotateY",
"zoomLevel": 0.9,
"homeZoomLevel": 0.9,
"autoHome": true,
"minZoomLevel": 0.5,
"animations": [
{
"key": "rotationX",
"from": 0,
"to": 360,
"duration": 120000,
"loops": 0
}
],
"zoomControl": {
"type": "ZoomControl",
"properties": {
"homeButton": {
"settings": {
"visible": true
}
}
}
},
"focusable": true,
"role": "figure",
"ariaLabel": "Globe covered with a satellite image of the Earth, turning slowly, with the country borders on top. Tab to the countries, then move between them with the arrow keys",
"projectionName": "geoOrthographic"
},
"properties": {
"series": [
"#series-0",
"#series-1",
"#series-2"
]
},
"children": [
{
"type": "Label",
"settings": {
"text": "Imagery: NASA Earth Observatory",
"fontSize": 12,
"fill": {
"type": "Color",
"value": "#ffffff"
},
"fillOpacity": 0.6,
"x": {
"type": "Percent",
"value": 100
},
"centerX": {
"type": "Percent",
"value": 100
},
"dx": -10,
"y": 10
},
"index": 2
}
],
"refs": [
{
"data-0": [
{
"geometry": {
"type": "GeoRectangle",
"north": 90,
"east": 180,
"south": -90,
"west": -180
},
"__parse": true
}
]
},
{
"data-1": []
},
{
"data-2": []
},
{
"series-0": {
"type": "MapPolygonSeries",
"properties": {
"data": "#data-0",
"mapPolygons": {
"properties": {
"template": {
"settings": {
"fill": {
"type": "Color",
"value": "#0b1a33"
},
"fillOpacity": 1,
"strokeOpacity": 0,
"shadowColor": {
"type": "Color",
"value": "#6fa8ff"
},
"shadowBlur": 40,
"shadowOpacity": 0.7
}
}
}
}
}
}
},
{
"series-1": {
"type": "MapRasterSeries",
"settings": {
"src": "https://cdn.amcharts.com/lib/5/geodata/images/earthDay2048.jpg"
}
}
},
{
"series-2": {
"type": "MapPolygonSeries",
"settings": {
"geoJSON": "am5geodata_worldLow"
},
"properties": {
"mapPolygons": {
"properties": {
"template": {
"settings": {
"fillOpacity": 0,
"stroke": {
"type": "Color",
"value": "#ffffff"
},
"strokeWidth": 0.5,
"strokeOpacity": 0.6,
"tooltipText": "{name}",
"focusable": true,
"focusableGroup": "countries",
"hoverOnFocus": true,
"ariaLabel": "{name}"
}
}
}
}
}
}
}
],
"root": {
"properties": {
"interfaceColors": {
"settings": {
"primaryButton": {
"type": "Color",
"value": "#2a3042"
},
"primaryButtonHover": {
"type": "Color",
"value": "#3a4259"
},
"primaryButtonDown": {
"type": "Color",
"value": "#485170"
},
"primaryButtonActive": {
"type": "Color",
"value": "#485170"
},
"primaryButtonDisabled": {
"type": "Color",
"value": "#1c2030"
},
"primaryButtonTextDisabled": {
"type": "Color",
"value": "#5c6278"
},
"primaryButtonText": {
"type": "Color",
"value": "#e6e8f0"
},
"primaryButtonStroke": {
"type": "Color",
"value": "#4a5370"
},
"background": {
"type": "Color",
"value": "#0b0e18"
}
}
}
}
}
}
More map tools.

SVG Map Generator
Any region, any projection
Pick a map and projection, simplify it and paint regions, then export SVG or PNG.
Pixel Map Generator
Dotted and pixel-art maps
Turn any map into dots, squares, hexagons or diamonds for posters and slides.

SVG Maps
427 maps, free to download
World, continents, countries and regions, with every region as its own named path.
Go further in the Dojo.
Full apps and games built with amCharts 5.





