} else {
startLocation = map.getLocation(p.width / 2, p.height / 2);
destLocation = GeoUtils.getDestinationLocation(startLocation, 90f, distance);
}
// Calculate distance between both locations in screen coordinates
ScreenPosition destPos = map.getScreenPosition(destLocation);
ScreenPosition startPos = map.getScreenPosition(startLocation);
float dx = destPos.x - startPos.x;
// Display
p.fill(color);
if (autoAlignment && x > map.mapDisplay.getWidth() / 2) {