Created
February 12, 2016 12:16
-
-
Save IvanSanchez/6a084d2a748d190010aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.TileLayer.GeoJSON.Multi = L.TileLayer.GeoJSON.extend({ | |
addTileData: function(json, tilePoint) { | |
for (var featureName in json) { | |
var geojson = json[featureName]; | |
L.TileLayer.GeoJSON.prototype.addTileData.apply(geojson, tilePoint); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment