added pixel density to internal mapview constructor