Commit 949c2814 authored by Adrien Pavie's avatar Adrien Pavie
Browse files

File size up to 4Mb

parent d432c320
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
L.Control.FileLayerLoad.LABEL = ''; L.Control.FileLayerLoad.LABEL = '';
var control = L.Control.fileLayerLoad({ var control = L.Control.fileLayerLoad({
addToMap: false, addToMap: false,
fileSizeLimit: 4096,
layerOptions: { layerOptions: {
filter: function(feature) { return feature.geometry.type === "Point"; }, filter: function(feature) { return feature.geometry.type === "Point"; },
pointToLayer: function(feature, latlng) { pointToLayer: function(feature, latlng) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment