[android-developers] Custom map overlays

2011-03-21 Thread Neilz
Hi all.

I'm fairly familiar with ItemizedOverlay and OverlayItem classes,
where you pass a drawable to the Overlay which gets added to the
MapOverlays and displayed on the map.

However I want to create a view, using an XML layout, and add this to
the map in the same way as an overlay. So instead of displaying a
simple image, I want to add a view which has more useful info to show
- but is still in a fixed position on the map and moves with it
accordingly.

Any pointers appreciated... thanks.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Custom map overlays

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 9:53 AM, Neilz neilhorn...@gmail.com wrote:

 Any pointers appreciated... thanks.


http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.LayoutParams.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en