No, I don't know how to change that behavior.

But if you don't like the shadow just disable it :-):
@Override
public void draw(Canvas pCanvas, MapView pMapView, boolean pShadow) {
    super.draw(pCanvas, pMapView, false);
}


On 2 Sep., 18:03, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
> Marcel,
>
> Thanks for that seems to work as you described.  The only thing that
> doesn't seem right is the way the map draws the markers shadow.  Any
> idea on how to correct that.
>
> Thanks.
>
>
>
> On Mon, Sep 1, 2008 at 2:03 PM, marcel-182 <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
>
> > I finally got this thing working. Just set the bounds of the marker to
> > be drawn and that's it!
>
> > Sample:
> > Drawable defaultMarker =
> > getResources().getDrawable(R.drawable.map_marker_red);
> > defaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(),
> > defaultMarker.getIntrinsicHeight());
> > mMapView.getOverlays().add(new DemoOverlay(defaultMarker)); //
> > DemoOverlay is of course an ItemizedOverlay
>
> > I made a small demo showing one OverlayItem and how to handle tap-
> > events. If someone is interested:
> >http://www.marcelp.info/2008/09/01/android-itemizedoverlay-demo/
>
> > Regards, Marcel
>
> --
> ~chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to