public AddressToLocation() { InitializeComponent(); graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer; }