I'm using the method findNearbySpec and I proved this method in a pocket application. I found many places but there is an error that i can quit.
SystemNullReferenceException //when I try to use GetMap
Code:
MapImage[] mapImgs;
mapImgs = render.GetMap(spec);
Bitmap bMap = new Bitmap(new System.IO.MemoryStream(mapImgs[0].MimeData.Bits));
pictureMapPoint.Image=bMap;
I prove the
same code in a windowsApplication a and that wroks fine. I view the the map.
I prove the find method findAddressSpec and the GetMap in the pocket, I don't have any Exception, and I see the map
Does anyone one the problem??