diff --git a/Samples/Spatial IO Module/Add a delimited file (CSV) to the map/Add a delimited file (CSV) to the map.html b/Samples/Spatial IO Module/Add a delimited file (CSV) to the map/Add a delimited file (CSV) to the map.html index edee872f..6b65a173 100644 --- a/Samples/Spatial IO Module/Add a delimited file (CSV) to the map/Add a delimited file (CSV) to the map.html +++ b/Samples/Spatial IO Module/Add a delimited file (CSV) to the map/Add a delimited file (CSV) to the map.html @@ -61,6 +61,8 @@ //Read a CSV file from a URL or pass in a raw string. atlas.io.read(delimitedFileUrl).then(r => { if (r) { + //Limit the number of features to be shown. + r.features = r.features.slice(0, 1000); //Add the feature data to the data source. datasource.add(r);