Skip to content

Commit

Permalink
Merge pull request #784 from Esri/broken-thumbnails
Browse files Browse the repository at this point in the history
default to loading a blank png when a tile request fails
  • Loading branch information
jgravois authored Jun 17, 2016
2 parents 836edf2 + 3deaf85 commit 0eb1fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Layers/TiledMapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 0eb1fda

Please sign in to comment.