I have a problem with public NASA layer wms, this is my simple code:
<script>
require(["esri/Map","esri/views/MapView","esri/layers/WMSLayer"], function(Map, MapView,WMSLayer) {
var map = new Map({
basemap: "streets-navigation-vector"
});
var view = new MapView({
container: "viewDiv",
map: map,
center: [-118.80500, 34.02700], // longitude, latitude
zoom: 13
});
var layer = new WMSLayer({
sublayers: [{
name: "fires_viirs_24",
}]
});
map.add(layer);
});
</script>
I DO NOT UNDERSTAND THIS ERROR BECAUSE I CAN USE THIS WMS IN OPENLAYERS EASILY WITHOUT ERROR.
IS THERE ANY SIMPLE CODE TO FIX THIS?
Thanks!!