,This is really very urgent. Somebody pleeeeeeeeaaaaaase help.
This is my draw function. By this i get a round recatangle but i want it to look like a callout like in google maps. As shown in the image "wanted" below.
private boolean drawInfoWindow(Canvas canvas, MapView mapView, boolean shadow) {
Point selDestinationOffset = new Point();
mapView.getProjection().toPixels(p, selDestinationOffset);
// Setup the info window with the right size & location
int INFO_WINDOW_WIDTH = 250;
int INFO_WINDOW_HEIGHT = 50;
RectF infoWindowRect = new RectF(selDestinationOffset.x + 2 + 5, selDestinationOffset.y - 3 * 5, selDestinationOffset.x + 65, selDestinationOffset.y + 5);
canvas.drawRoundRect(infoWindowRect, 5, 5, getInnerPaint());
canvas.drawRoundRect(infoWindowRect, 5, 5, getBorderPaint());
int TEXT_OFFSET_X = 10;
int TEXT_OFFSET_Y = 15;
canvas.drawText(text, selDestinationOffset.x + 2 * 5, selDestinationOffset.y, getTextPaint());
return false;
}
What I am getting is like image "unwanted". But what i want is like the image "wanted".
I also want to know how to place a link in the information box or the text box.
PLease help


