Constructor PictureMarkerSymbol
PictureMarkerSymbol(Uri)
Initializes a new instance of the PictureMarkerSymbol class from an image URI.
Declaration
public PictureMarkerSymbol(Uri imageUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | imageUri | URI of the image. |
Remarks
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Find route: Display directions for a route between two points.
Find service area: Find the service area within a network from a given point.
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.
PictureMarkerSymbol(RuntimeImage)
Initializes a new instance of the PictureMarkerSymbol class from runtime image data container.
Declaration
public PictureMarkerSymbol(RuntimeImage image)
Parameters
Type | Name | Description |
---|---|---|
RuntimeImage | image | The runtime image data container. |
Remarks
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |