From 3deaf85702663d8bc12fd158ea7110f951d97648 Mon Sep 17 00:00:00 2001 From: john gravois Date: Wed, 25 May 2016 09:15:52 -0700 Subject: [PATCH] default to loading a blank png when a tile request fails --- src/Layers/TiledMapLayer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Layers/TiledMapLayer.js b/src/Layers/TiledMapLayer.js index 71e0c80f1..cde53457f 100644 --- a/src/Layers/TiledMapLayer.js +++ b/src/Layers/TiledMapLayer.js @@ -4,7 +4,8 @@ import mapService from '../Services/MapService'; export var TiledMapLayer = L.TileLayer.extend({ options: { - zoomOffsetAllowance: 0.1 + zoomOffsetAllowance: 0.1, + errorTileUrl: 'http://downloads2.esri.com/support/TechArticles/blank256.png' }, statics: {