layout: default title: HitTestResult parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

HitTestResult Class

Object specification for the result of the MapView.HitTest method.
ArcGIS Maps SDK for JavaScript

public class HitTestResult :
System.IEquatable<dymaptic.GeoBlazor.Core.Events.HitTestResult>

Inheritance System.Object 🡒 HitTestResult

Implements System.IEquatable<HitTestResult>

Constructors

HitTestResult(ScreenPoint) Constructor

Object specification for the result of the MapView.HitTest method.
ArcGIS Maps SDK for JavaScript

public HitTestResult(dymaptic.GeoBlazor.Core.Events.ScreenPoint ScreenPoint);

Parameters

ScreenPoint ScreenPoint

The screen coordinates (or native mouse event) of the click on the view.

Properties

HitTestResult.Ground Property

Ground intersection result, only applies to SceneViews. The ground hit result will always be returned, even if the
ground was excluded from the hitTest.

public dymaptic.GeoBlazor.Core.Events.GroundIntersectionResult? Ground { get; set; }

Property Value

GroundIntersectionResult

HitTestResult.Results Property

An array of result objects returned from the hitTest(). Results are returned when the location of the input screen
coordinates intersects a Graphic or media element in the view.

public dymaptic.GeoBlazor.Core.Events.ViewHit[] Results { get; set; }

Property Value

ViewHit[]

HitTestResult.ScreenPoint Property

The screen coordinates (or native mouse event) of the click on the view.

public dymaptic.GeoBlazor.Core.Events.ScreenPoint ScreenPoint { get; set; }

Property Value

ScreenPoint