markers property
Get access to the collections of visible markers.
Returns
- The markers collection
Implementation
MapViewMarkerCollections get markers {
if (_markers == null) {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'markers',
dependencyId: _mapPointerId,
);
_markers = MapViewMarkerCollections.init(
resultString['result'],
_mapId,
_mapPointerId,
);
}
return _markers!;
}