PictureMarkerSymbolLayer.withImage constructor

PictureMarkerSymbolLayer.withImage(
  1. ArcGISImage image
)

Creates a picture marker symbol layer from an ArcGISImage.

This function sets up the following default properties: Anchor at (0, 0), offset of (0, 0), size of 13.33 DIPs (10 points), an angle of 0 degrees, width and height of (0, 0), and an empty URI. If the image is valid, the function sets the image on the symbol layer, and sets the load status of the PictureMarkerSymbolLayer to LoadStatus.loaded.

Parameters:

  • image — The desired image.