my overlay item looks like this :-
- Code: Select all
if (festieid ==6){
List<Overlay> mapOverlays = mapView.getOverlays();
// Drawable drawable = this.getResources().getDrawable(R.drawable.glastomap);
this.readingmap = getResources().getDrawable(R.drawable.readingmap);
this.readingmap.setBounds(0, 75, this.readingmap.getIntrinsicWidth(), this.readingmap
.getIntrinsicHeight());
String coordinates[] = {"51.465906", "-0.998769"};
double lat = Double.parseDouble(coordinates[0]);
double lng = Double.parseDouble(coordinates[1]);
p = new GeoPoint(
(int) (lat * 1E6),
(int) (lng * 1E6));
SiteItemizedOverlay itemizedoverlay = new SiteItemizedOverlay(readingmap);
//GeoPoint point = new GeoPoint(51465906, 0.0);
OverlayItem overlayitem = new OverlayItem(p, "Reading", "Reading Carling");
itemizedoverlay.addOverlay(overlayitem);
mapOverlays.add(itemizedoverlay);
mapController.animateTo(p);
};
This works fine but the shadow really annoys me (I never wanted the shadow, it put it on automatically!).
Is there any way of turning it off?
cheers guyz!



