initialMarkersCount property
Option to set markers count initially. It cannot be be updated dynamically.
The MapLayer.markerBuilder callback will be called number of times equal to the value specified in the MapLayer.initialMarkersCount property. The default value of the of this property is null.
See also:
- markerBuilder, for returning the MapMarker.
- MapShapeLayer.controller, MapTileLayer.controller for dynamically updating the markers collection.
Implementation
final int initialMarkersCount;