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
{{ message }}
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
I am seeing that CirlcleAnnotations are not showing up on the map when I define them. I followed the example outlined here for SymbolAnnotations. I then modified the HandleStyleLoaded in that example to be
private void HandleStyleLoaded(MapStyle obj)
{
var symbol = new SymbolAnnotation
{
Coordinates = new LatLng(39.251870, -84.521410),
IconImage = MAKI_ICON_HARBOR,
IconSize = 2.0f,
IsDraggable = true,
Id = Guid.NewGuid().ToString()
};
symbol.Title = "test title";
symbol.TextField = "test";
var t = new Naxam.Mapbox.Annotations.CircleAnnotation
{
Coordinates = new LatLng(39.250520, -84.520920),
CircleRadius = 2.0f,
CircleColor = Color.Aqua,
Opacity = 1,
IsDraggable = false,
Title = "title",
SubTitle = "sub title",
Id = Guid.NewGuid().ToString()
};
myMap.Annotations = new[] { t };
}
When I do that, I do not get any circle or anything on the map.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am seeing that CirlcleAnnotations are not showing up on the map when I define them. I followed the example outlined here for SymbolAnnotations. I then modified the HandleStyleLoaded in that example to be
When I do that, I do not get any circle or anything on the map.
The text was updated successfully, but these errors were encountered: