private static PointStyle GetCurrentVehicleStyle(string iconVirtualPath) { Stream vehicleStream = MapSuiteSampleHelper.GetResourceStream(iconVirtualPath); GeoImage vehicleImage = new GeoImage(vehicleStream); return(new PointStyle(vehicleImage)); }
private static PointStyle GetVehicleTrailStyle() { Stream historyStream = MapSuiteSampleHelper.GetResourceStream("trail point.png"); historyStream.Seek(0, SeekOrigin.Begin); return(new PointStyle(new GeoImage(historyStream))); }