I have developed a Google based android map application which points my current location and I succeeded in that. But,the marker I am using has a circle in it and it is dark blue in color when it is zoomed in and this is somewhat odd. We can't trace the nearby places to us. I used locationoverlay for this. This is my code:
private void setMaptoLocation(Location location) {
mapView.setBuiltInZoomControls(true);
mapView.setTraffic(true);
int LAT = (int) (location.getLatitude() * 1E6);
int LNG = (int) (location.getLongitude() * 1E6);
GeoPoint point = new GeoPoint(LAT, LNG);
MapController mapController = mapView.getController();
mapController.setCenter(point);
MyLocationOverlay myLocationOverlay = new MyLocationOverlay(this,mapView);
myLocationOverlay.enableMyLocation();
mapView.getOverlays().add(myLocationOverlay);
mapController.animateTo(point);
}
Can anybody do a suggestion please to change the color of the circle / to make it transparent, so that the mapview will be a little more better. Thanks in advance!!!
This is the view that I am getting