Adding Markers to the Map
To add a marker to your map you’d need to add an AMSMapMarkerComponent to the actor you want to be tracked by your Map and then to configure his properties according to your needs:
The MarkerTexture is the one that will be displayed in your map widget as a marker at the relative position of the actor within the AMS_MapArea_BP’s space.
To every marker a MarkerCategory can be assigned to categorize them. Marking tags can be usefull to query markers by category (ES: delete all Markers related to Quest or Location).
You can also define if the marker in the map should match the rotation of the actor in the world ShouldRotate (usefull for players, you may want the Player’s marker to match the palyer rotation).
Addinionally every marker actor has a world widget (WidgetClass) that may be spawned at his world location to show the marked location in the 3D world (ActivateWorldWidget).
To Add or Remove a Marker from the Map you may use one of the provided functions from the AMSMapMarkerComponent or the AMSMapSubsystem: