I am using UnfoldingMap library. I have created a map and few markers. I want to show a circle around the marker. I am using the given code where x and y are coordinates and radius is radius in km. Ya I know I can't use km radius directly I have to convert it into pixels. How to do this conversion ?
public void showImpactCircle(PGraphics pg, float x, float y, float radius)
{
pg.fill(255,0,0,60.8f);
pg.ellipse(x, y,2*radius, 2*radius);
}