setImage method

void setImage(
  1. ArcGISImage image
)

Sets the image that should be used to display the reticle at the design size on the ArcGISMapViewController.

Use this method to change the reticle image to your own choice of image, using the physical pixel size of the given image. If you need to scale the image, use GeometryEditorReticle.setImageWithSize instead.

The center of the image is used as the target position for edits, so bear this in mind when creating your own custom reticle images and ensure the edit position is clear to your users.

Using a reticle image with large areas of transparent or semi-transparent pixels allows you to see sufficient areas of the map to give appropriate context for the edit.

Parameters:

  • image — Image to be used for the reticle.

Implementation

void setImage(
  ArcGISImage image,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GeometryEditorReticle_setImage(
      _handle,
      image._handle,
      errorHandler,
    );
  });
}