
var iconBlue = new GIcon(); 
iconBlue.image = 'http://labs.google.com/ridefinder/images/mm_20_blue.png';
iconBlue.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconBlue.iconSize = new GSize(12, 20);
iconBlue.shadowSize = new GSize(22, 20);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);

var iconRed = new GIcon(); 
iconRed.image = 'http://labs.google.com/ridefinder/images/mm_20_red.png';
iconRed.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconRed.iconSize = new GSize(12, 20);
iconRed.shadowSize = new GSize(22, 20);
iconRed.iconAnchor = new GPoint(6, 20);
iconRed.infoWindowAnchor = new GPoint(5, 1);

var iconGray = new GIcon(); 
iconGray.image = 'http://labs.google.com/ridefinder/images/mm_20_gray.png';
iconGray.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconGray.iconSize = new GSize(12, 20);
iconGray.shadowSize = new GSize(22, 20);
iconGray.iconAnchor = new GPoint(6, 20);
iconGray.infoWindowAnchor = new GPoint(5, 1);


//Create an icon for the clusters
var iconCluster = new GIcon();
iconCluster.image = "http://www.exxonstations.com/icon/clusterRBR.png";
iconCluster.shadow = "http://www.exxonstations.com/icon/cluster_shadow.png";
iconCluster.iconSize = new GSize(26, 25);
iconCluster.shadowSize = new GSize(22, 20);
iconCluster.iconAnchor = new GPoint(13, 25);
iconCluster.infoWindowAnchor = new GPoint(13, 1);
iconCluster.infoShadowAnchor = new GPoint(26, 13);


var customIcons = [];
customIcons["Mobil"] = iconBlue;
customIcons["Exxon"] = iconRed;
customIcons["Esso"] = iconRed;
customIcons["c"] = iconCluster;

