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

File size up to 4Mb

parent d432c320
......@@ -78,6 +78,7 @@
L.Control.FileLayerLoad.LABEL = '';
var control = L.Control.fileLayerLoad({
addToMap: false,
fileSizeLimit: 4096,
layerOptions: {
filter: function(feature) { return feature.geometry.type === "Point"; },
pointToLayer: function(feature, latlng) {
......
Markdown is supported
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