AnsweredAssumed Answered

PictureMarkerSymbol problem in Windows Phone app

Question asked by asawegelius on Mar 27, 2015
Latest reply on Mar 27, 2015 by asawegelius

Im trying to add pushpins on a map. I tried:

 

var pushPinSymbol = new PictureMarkerSymbol() { Width = 30, Height = 30, XOffset = 0, YOffset = 25 };
pushPinSymbol.SetSourceAsync(new Uri("pack://application:,,,/RouteDisplayer;component/Assets/MapPinIcon-30.png"));

 

and gets an invalid port specified error.

 

Is there another way I'm supposed to add an image to the symbol?

Outcomes