map points from the db