cran checks Travis-CI Build Status monthly total CRAN License Coverage Status

Interactive viewing of spatial data in R

mapview is an R package created to help researchers during their spatial data analysis workflow. It provides functions to very quickly and conveniently create interactive visualisations of spatial data. It was created to fill the gap of quick (not presentation grade) interactive plotting to examine and visually investigate both aspects of spatial data, the geometries and their attributes.

The main user relevant functions are:

Objects of the following spatial classes are supported:

In addition, mapview provides some extra leaflet compatible functionality:


For CRAN release version of mapview use


To install the development version install the devtools package.



The most basic call


will produce a web map visualisation of the breweries data with the following components:


Please file bug reports and feature requests at

In case of Pull Requests, please make sure to submit them to the develop branch of this repository.