Using vertex array to draw map