log img url to console

This commit is contained in:
Andy Gup 2014-10-13 13:08:50 -06:00
parent 43d5c0befb
commit 792ffb7875

View File

@ -16,7 +16,7 @@ O.esri.Tiles.TilesCore = function(){
*/
this._getTiles = function(image,imageType,url,tileid,store,query){
store.retrieve(url, function(success, offlineTile)
{ console.log("TILE RETURN " + success + ", " + offlineTile)
{ console.log("TILE RETURN " + success + ", " + offlineTile.url)
/* when the .getTileUrl() callback is triggered we replace the temporary URL originally returned by the data:image url */
// search for the img with src="void:"+level+"-"+row+"-"+col and replace with actual url
image = query("img[src="+tileid+"]")[0];