Class MapPOIManager
Tracks standalone phone-map POIs by stable identifier.
public static class MapPOIManager
- Inheritance
-
MapPOIManager
- Inherited Members
Properties
All
Returns a snapshot of the currently registered markers.
public static IReadOnlyCollection<MapPOI> All { get; }
Property Value
Methods
Get(string)
Gets a marker by ID, or null when it is not registered.
public static MapPOI? Get(string id)
Parameters
idstring
Returns
Remove(string)
Removes a marker by ID.
public static bool Remove(string id)
Parameters
idstring
Returns
RemoveAll()
Removes every currently registered standalone marker.
public static void RemoveAll()
TryGet(string, out MapPOI?)
Attempts to get a marker by ID.
public static bool TryGet(string id, out MapPOI? marker)