prepare for map gallery