MapBillboard.Image Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the image for the MapBillboard. Provide an optional custom image to replace the default point of interest (POI) image.
public:
property IRandomAccessStreamReference ^ Image { IRandomAccessStreamReference ^ get(); void set(IRandomAccessStreamReference ^ value); };
IRandomAccessStreamReference Image();
void Image(IRandomAccessStreamReference value);
public IRandomAccessStreamReference Image { get; set; }
var iRandomAccessStreamReference = mapBillboard.image;
mapBillboard.image = iRandomAccessStreamReference;
Public Property Image As IRandomAccessStreamReference
Property Value
The point of interest (POI) image for the MapBillboard.
Remarks
The following line of code displays the MapBillboard with a custom image saved in the Assets folder of the project.
MapBillboard1.Image = RandomAccessStreamReference.CreateFromUri(new Uri("ms-appx:///Assets/customicon.png"));