map view with rewirte