def splitLeafletCustomIconType(iconType):
    """
	If iconPrefix is 'custom', iconType is expected to be a string of the form '[marker size]-[font color]-[font size]' or '[marker size]-none'.  This function returns a list of size 3, containing the 3 elements separated by '-'.  Missing elements default to be None.
	"""
    if iconType is None:
        return [None, None, None]
    iconType = str(iconType)
    try:
        iconType = iconType.lower()
    except:
        pass
    iconType.replace(' ', '')
    if '-' in iconType:
        parts = iconType.split('-')
        try:
            parts[0] = float(parts[0])
        except:
            pass
        if len(parts) >= 2:
            if parts[1] == 'none':
                parts[1] = None
        if len(parts) >= 3:
            if parts[2] == 'none':
                parts[2] = None
            else:
                try:
                    parts[2] = float(parts[2])
                except:
                    pass
        else:
            parts.append(None)
        return parts[0:3]
    else:
        try:
            iconType = float(iconType)
        except:
            pass
        return [iconType, None, None]
