Mapchooser: replace len hardcoded content by charsmax