Add WMS key when using addWMSTiles() in Leaflet

leaflet

#1

Hi there,

NASA recently changed their MODIS Fire WMS to now include a MAP_KEY variable in the URL as such:

https://firms.modaps.eosdis.nasa.gov/wms/?REQUEST=GetMap&layers=fires_modis_24&WIDTH=1024&HEIGHT=512&BBOX=-180,-90,180,90&MAP_KEY=YOUR_MAP_KEY

How do I go about adding this to the addWMSTiles() call Leaflet provides?

This is my current call which worked without the key:

addWMSTiles(
      baseUrl = "https://firms.modaps.eosdis.nasa.gov/wms/",
      layerId = "modisFire",
      layers = "fires_modis_24",
      options = WMSTileOptions(format = "image/png", transparent = TRUE)
    )

Many thanks!