You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-guide/maps-configuration.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1396,13 +1396,19 @@ See format specifications for more info about FlatGeobuf [here](https://flatgeob
1396
1396
```javascript
1397
1397
{
1398
1398
"type":"flatgeobuf",
1399
-
"url":"https://host-sample/countries.fgb",
1399
+
"url":"https://host-sample/countries.fgb",
1400
1400
"title":"Title",
1401
1401
"group":"",
1402
-
"visibility":true
1402
+
"visibility":true,
1403
+
"maxFeaturesInView":1000
1403
1404
}
1404
1405
```
1405
1406
1407
+
Where:
1408
+
1409
+
-`url` is the URL of the FlatGeobuf source.
1410
+
-`maxFeaturesInView` (optional) the maximum number of features to load for the current map view. Used to limit rendering when the FlatGeobuf source contains many features.
1411
+
1406
1412
## Layer groups
1407
1413
1408
1414
Inside the map configuration, near the `layers` entry, you can find also the `groups` entry. This array contains information about the groups in the TOC.
0 commit comments