Skip to content

Commit

Permalink
default to loading a blank png when a tile request fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois committed May 25, 2016
1 parent 836edf2 commit 3deaf85
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 3deaf85

Please sign in to comment.