This is a special version of ggplot2::annotation_raster for use with ggmap. (It simply removes the requirement for cartesian coordinates.) The only difference between inset_raster() and inset_ggmap() is their arguments. inset_ggmap() is simply a wrapper of inset_raster() with xmin, ..., ymax arguments equal to the map's bounding box.