I've got the code below. I have a "real" key determined from the machine that
I am running on right now (I know because I just recreated it). The problem
that I am running into is that the map_view is sometimes null and sometimes
not. Has anyone else seen this behavior?
var map_view = new MapView(this, "debug key");
SetContentView(map_view);
location_overlay = new MyLocationOverlay(this, map_view);
location_overlay.EnableMyLocation();
location_overlay.RunOnFirstFix(delegate
{
map_view.Controller.AnimateTo(location_overlay.MyLocation);
});
map_view.Overlays.Add(location_overlay);
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid