The map_view is null and Null Reference Exception occurs at this line: map_view.Overlays.Add(location_overlay);
> From: [email protected] > Date: Wed, 9 Nov 2011 23:07:53 -0500 > To: [email protected] > Subject: Re: [mono-android] maps - I'm doing something wrong > > On Nov 9, 2011, at 11:02 PM, Wally McClure wrote: > > Thanks Jon. Right now, I'm able to run this code properly on a device. It > > is not running in the emulator, same error with a null in the map_view. I > > do have location setup properly in the emulator since it seems to detect my > > location properly in other apps in the emulator. Any other ideas? > > Can you narrow down to when/where map_view is null, and/or when > map_view.Handle is IntPtr.Zero? > > Thanks, > - Jon > > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
