Plot points on mapview

I currently have a mapview, that displays precipitation data, grabbed from worldclim.
I need to plot some points with latitude and longitude on that precipitation map.
I know that adding points can be easily done with leaflet, but I was unable to display the precipitation map grabbed from worldclim there.
Please help me out!

Here is the code I am using:

ph<-raster::getData('worldclim',var='prec',res=0.5,lat=14.761664,lon=-86.921641)
m<-mapview(ph,map.types="OpenWeatherMap.Precipitation")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.