/***************************************************************************************************************************

								FICHIER CONTENANT LES FONCTIONS POUR LES DIFFERENTS STYLES DE MARKERS

***************************************************************************************************************************/

function createFlatIcon ( latlng, title, html, size, label, color, colorSelected) 
{
	  var iconNormal = MapIconMaker.createFlatIcon({width: size, height: size, label: label, labelColor: "#ffffff", primaryColor: color});
	  var iconSelected = MapIconMaker.createFlatIcon({width: size, height: size, label: label, labelColor: "#ffffff", primaryColor: colorSelected});
	  
	  var marker = new GMarker(latlng, {icon: iconNormal, title: title});
	  marker.iconNormal = iconNormal;
	  marker.iconSelected = iconSelected;

	  return marker; 
}
