You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you assign a custom object to RealTimeMap.StreamPoint.value all properties must start with lower case. Please add this to the documentation or check why capitalized properties do not work, I was going crazy because it did not work and couldn't find out why!
Example:
RealTimeMap.StreamPoint point = new()
{
guid = Guid.NewGuid(),
type = "Player",
latitude = coords.Lat,
longitude = coords.Lng,
timestamp = GetTimestamp(status.Timestamp),
value = new PlayerPointAttributes() { Name = player.Name! },
};
...
public class PlayerPointAttributes
{
public required string Name { get; set; }
}
...
// This tooltip does not show the name. It is fixed by changing the property to lowercase
RealTimeMap.Geometric.Points.AppearanceOnType(x => x.type == "Player").pattern = new RealTimeMap.PointTooltip()
{
content = "<b>${type}</b><br><b>Name: ${value.Name}</b>",
permanent = false,
};
The text was updated successfully, but these errors were encountered:
When you assign a custom object to RealTimeMap.StreamPoint.value all properties must start with lower case. Please add this to the documentation or check why capitalized properties do not work, I was going crazy because it did not work and couldn't find out why!
Example:
The text was updated successfully, but these errors were encountered: