This project is read-only.
1

Resolved

PushPin Null Reference Exception

description

Hi, when I close a VE Map that has VEPushPin's I get a "NullReferenceException" in VSMap.cs (line 766). Is this a bug or is it something specific I should do when creating the PushPin. This is how I create the VEPushPin:
 
Dim ppPg As New VEPushPin
 
ppPg.Name ="ppWyoming"
 
ppPg.Latitude = 43.1586
 
 
ppPg.Longitude = -107.42504
 
ppPg.Altitude = 1000.0
 
ppPg.AltMode = VEAltMode.FromGround
 
 
 
ppPg.Background = New SolidColorBrush(Colors.Black)
 
 
ppLbl.FontSize = 14.0ppPg.Content = "Wyoming: Northwest Region"
 
 
 
 

 
 
 
 
myMap.Items.Add(ppPg)
 
Thanks in advance for your help.

comments