AnsweredAssumed Answered

OpenWeatherMap and WebTiledLayer, issue with tile download

Question asked by nachchid_sel on Oct 28, 2017
Latest reply on Oct 30, 2017 by rscheitlin

I am trying to integrate OpenWeatherMap weather layers into esri map. So that I can see some real time weather data on the map.  


When I create a weather layer using WebTiledLayer , it creates the layer and adds it to the map just fine no errors in console, but it doesn't display anything except basemap.  When I watch the network traffic, it looks like 1 request is made to OpenWeatherMap layer and then no request are made for that layer.  If  I zoom or pan, I can see the basemap requests are made and redrawn, but nothing for my OpenWeatherMap- WebTiledLayer. Am I missing something very basic here ? 


I am following the code sample from : WebTileLayer | ArcGIS API for JavaScript 4.5 


Here is my code : 


<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>WebTileLayer - 4.5</title>
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
<link rel="stylesheet" href="">
<script src=""></script>
var tiledLayer;
], function(esriConfig, WebTileLayer, Map, MapView, dom) {


var map = new Map({
basemap: "dark-gray"

var view = new MapView({
container: "viewDiv",
map: map

tiledLayer = new WebTileLayer({
urlTemplate: "{z}/{x}/{y}.png?appid={my_app_id}"
<div id="viewDiv"></div>