Boom, just had a look at this and it was easier than I thought. Save the excel sheet as a CSV file, and then drag in that CSV straight into the project panel of your After Effects Project (don’t add it into your comp). Then, create a marker in any style you want, and paste in this code into the expressions field of the “Position” property:
—————————————————————————————-
// get the coordinates from the CSV file in the project panel
pos = footage(“afxtest.csv”).sourceText.split(“\r”)[index-1].split(/,/); // “index” get current layer number so for each duplicated layer this will +1
latitude = pos[0];
longitude = pos[1];
// need to map lat and long to pixel position
highestPoint = 90; // the highest point of latitude shown on map: corresponds to 0 on the Y axis
lowestPoint = -90; // the lowest point of latitude shown on map: corresponds to the canvasYsize on the Y axis
leftmostPoint = -170; // the point furthest to the left in longitude: corresponds to 0 on the X axis
rightmostPoint = 185; // the point furthest to the left in longitude: corresponds to the canvasXsize on the X axis
// size of your comp so we can map the coordinates to pixels
canvasYsize = 1080;
canvasXsize = 1920;
// calculate the position of the X point
xRange = rightmostPoint – leftmostPoint;
trueX = longitude – leftmostPoint;
xPos = canvasXsize * (trueX / xRange);
// calculate the position of the Y point
yRange = highestPoint – lowestPoint;
trueY = latitude – lowestPoint;
yPos = canvasYsize – (canvasYsize * (trueY / yRange));
// boom
[xPos, yPos]
—————————————————————————————-
On the second line, rename “afxtest.csv” as the name of the CSV file in your project panel.
This code will reposition the centre of the marker to be roughly at the latitude and longitude of the points on the map. Every time you duplicate this layer, the duplicate layer will read from the next line of the CSV file and change the position of the marker.
I’ve done this very quickly and used a screenshot of your map as a base, and used red stars as markers. See the attached screenshot.
For fine tuning, you can adjust thse variables: “highestPoint”, “lowestPoint”, “leftmostPoint”, “rightmostPoint” and it will adjust the position to your map. You may want to test it out, get them right and then duplicate the layers. Otherwise, tie these variables into control sliders so you can duplicate them all and adjust them all at once.