init arrays when getting grouped markers