Skip to content

Commit

Permalink
Merge pull request #902 from jgravois/encoded-blank
Browse files Browse the repository at this point in the history
replace blank tile remote url with base64 encoded version
  • Loading branch information
jgravois authored Dec 29, 2016
2 parents 68c1d0a + 64de83f commit d498447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/TiledMapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import mapService from '../Services/MapService';
export var TiledMapLayer = L.TileLayer.extend({
options: {
zoomOffsetAllowance: 0.1,
errorTileUrl: 'http://downloads2.esri.com/support/TechArticles/blank256.png'
errorTileUrl: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEABAMAAACuXLVVAAAAA1BMVEUzNDVszlHHAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAAAAAAAAAB6mUWpAAAADZJREFUeJztwQEBAAAAgiD/r25IQAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7waBAAABw08RwAAAAABJRU5ErkJggg=='
},

statics: {
Expand Down

0 comments on commit d498447

Please sign in to comment.