Class MapMarkerCollection
Represents the map marker collection.
Inheritance
System.Object
MapMarkerCollection
Namespace: Syncfusion.Maui.Maps
Assembly: Syncfusion.Maui.Maps.dll
Syntax
public class MapMarkerCollection : ObservableCollection<MapMarker>
Examples
<map:SfMaps>
<map:SfMaps.Layer>
<map:MapShapeLayer x:Name="layer"
ShapesSource="https://cdn.syncfusion.com/maps/map-data/world-map.json">
<map:MapShapeLayer.Markers>
<map:MapMarkerCollection>
<map:MapMarker x:Name="Seattle"
Latitude="47.60621"
Longitude="-122.332071" />
<map:MapMarker x:Name="Belem"
Latitude="-1.455833"
Longitude="-48.503887" />
</map:MapMarkerCollection>
</map:MapShapeLayer.Markers>
</map:MapShapeLayer>
</map:SfMaps.Layer>
</map:SfMaps>
Constructors
MapMarkerCollection()
Declaration
public MapMarkerCollection()