Currently in the process of creating a small script to tag coordinates in an array:
var countries = ['spain','australia'];
var leftX = ['270','575'];
var topY = ['60','220'];
When I need to retrieve them:
country = 'spain';
var left_ = leftX[countries.indexOf(country)];
var top_ = topY[countries.indexOf(country)];
This setup might be a bit confusing for my colleagues when updating. Any suggestions on how to simplify it?