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 |
|---|---|---|
| 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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.14 |
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |