waiting for DOM ready to draw points in map