Hi All,
The SDK version is 100.15.0
I create a point graphic with callout on the mapview. When panning the map, the callout always has a gap between the arrow and the graphic. Is there any way to solve this issue in Android SDK ?
Here is the code for create a callout with a point graphic.
Callout callout = _mapView.getCallout();
callout.setPassTouchEventsToMapView(false);
TextView calloutContent = new TextView(_context);
calloutContent.setTextColor(Color.BLACK);
calloutContent.setSingleLine();
// format coordinates to 4 decimal places
calloutContent.setText("Lat: " + String.format("%.4f", location.getY()) + ", Lon: " + String.format("%.4f", location.getX()));
callout.show(calloutContent, location);
Please see the attached video for details.
Bests,
Leo