// JavaScript Document
var iconMode='propertyTypeID';
var imagePath='http://www.bartram.co.uk/images/map/';
//propertyTypeID,price
/*--------------------- Icons ------------------------*/
// Create our "tiny" marker icon

var iconSales = new GIcon();
iconSales.image = imagePath+"sales_marker.png";
iconSales.shadow = imagePath+"sales_marker.png";
iconSales.iconSize = new GSize(45, 54);
iconSales.shadowSize = new GSize(0, 0);
iconSales.iconAnchor = new GPoint(-4, 50);
iconSales.infoWindowAnchor = new GPoint(5, 1);

var iconLettings = new GIcon();
iconLettings.image = imagePath+"lettings_marker.png";
iconLettings.shadow = imagePath+"lettings_marker.png";
iconLettings.iconSize = new GSize(45, 54);
iconLettings.shadowSize = new GSize(0, 0);
iconLettings.iconAnchor = new GPoint(-4, 50);
iconLettings.infoWindowAnchor = new GPoint(5, 1);

var iconSold = new GIcon();
iconSold.image = imagePath+"sold_marker.png";
iconSold.shadow = imagePath+"sold_marker.png";
iconSold.iconSize = new GSize(45, 54);
iconSold.shadowSize = new GSize(0, 0);
iconSold.iconAnchor = new GPoint(-4, 50);
iconSold.infoWindowAnchor = new GPoint(5, 1);

var iconLet = new GIcon();
iconLet.image = imagePath+"let_marker.png";
iconLet.shadow = imagePath+"let_marker.png";
iconLet.iconSize = new GSize(45, 54);
iconLet.shadowSize = new GSize(0, 0);
iconLet.iconAnchor = new GPoint(-4, 50);
iconLet.infoWindowAnchor = new GPoint(5, 1);