I'm trying to get map layers working in my Windows 8.1 app, which is using the Bing Maps SDK. Following microsoft's documentation, I created this code, and it doesn't seem to be working. No errors are thrown, making this problem even more confusing.
MapTileLayer tileLayer = new MapTileLayer();
tileLayer.TileSource = string.Format("http://mesonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0q-900913/{{zoomLevel}}/{{x}}/{{y}}.png?{0}", DateTime.Now.ToString());
rMap.TileLayers.Add(tileLayer);
The URI variables zoomLevel
,x
, and y
represent where to load the tile. 0
is the subdomain (This code was ported from Windows Phone 8, where it works fine