Don't filter points of GeoJSON layer (#727)

This commit is contained in:
Norbert Renner 2023-05-17 12:27:23 +02:00
parent b772924106
commit 43b1b70a0a
3 changed files with 10 additions and 6 deletions

View file

@ -10,7 +10,7 @@ BR.tracksLoader = function (map, layersControl, routing, pois) {
options: {
// `layer` allows to use a customized version of `L.geoJson` with the same signature
layer: createGeoJsonLayer,
layerOptions: BR.Track.getGeoJsonOptions(layersControl),
layerOptions: BR.Track.getGeoJsonOptions(layersControl, true),
addToMap: false,
// File size limit in kb (default: 1024) ?
fileSizeLimit: BR.conf.trackSizeLimit || 1024 * 10,