Re: [mono-android] maps - I'm doing something wrong

2011-11-10 Thread Jonathan Pryor
On Nov 9, 2011, at 11:38 PM, Wally McClure wrote: > The map_view is null and Null Reference Exception occurs at this line: > map_view.Overlays.Add(location_overlay); Some investigation later, this appears to happen primarily on the emulator, and not on hardware. Specifically, when I ran my app o

Re: [mono-android] maps - I'm doing something wrong

2011-11-10 Thread Jonathan Pryor
On Nov 9, 2011, at 11:38 PM, Wally McClure wrote: > The map_view is null and Null Reference Exception occurs at this line: > map_view.Overlays.Add(location_overlay); That is very, very, odd. Furthermore, I'm not able to reproduce, though you did say it was random. Do you see this on hardware? Th

Re: [mono-android] maps - I'm doing something wrong

2011-11-09 Thread Wally McClure
The map_view is null and Null Reference Exception occurs at this line: map_view.Overlays.Add(location_overlay); > From: j...@xamarin.com > Date: Wed, 9 Nov 2011 23:07:53 -0500 > To: monodroid@lists.ximian.com > Subject: Re: [mono-android] maps - I'm doing something wrong >

Re: [mono-android] maps - I'm doing something wrong

2011-11-09 Thread Jonathan Pryor
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 pr

Re: [mono-android] maps - I'm doing something wrong

2011-11-09 Thread Wally McClure
ideas? Wally > From: j...@xamarin.com > Date: Wed, 9 Nov 2011 20:54:45 -0500 > To: monodroid@lists.ximian.com > Subject: Re: [mono-android] maps - I'm doing something wrong > > On Nov 9, 2011, at 6:57 PM, Wally McClure wrote: > > I've got the code below. I have a

Re: [mono-android] maps - I'm doing something wrong

2011-11-09 Thread Jonathan Pryor
On Nov 9, 2011, at 6:57 PM, Wally McClure wrote: > 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. H

[mono-android] maps - I'm doing something wrong

2011-11-09 Thread Wally McClure
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 M