I did mention Overlays.  When adding an overlay to MapView, I have to
specify a GeoPoint, mSnippet, and mTitle.  How can I access those
three pieces of information?

        List<Overlay> mapOverlays;
...
                mapOverlays = mapView.getOverlays();
                GeoPoint point = new GeoPoint(19240000,-99120000);
                OverlayItem overlayItem = new OverlayItem(point, "Hola, Mundo!",
"I'm in Mexico City!");
                itemizedOverlay.addOverlay(overlayItem);
                mapOverlays.add(itemizedOverlay);

When I try to access the MapView Overlay, I seem to only be able to
access Overlay methods and I'm not seeing a way to reach the
OrderedList data which is given to the overlay.  I'm not seeing
anything in the MapView Overlay documentation which provides access to
the data which is within the Overlays.


        for (Overlay overlay : mapOverlays) {
...
        }

-- 
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

Reply via email to