layout: default title: GoToTarget parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

GoToTarget Class

The target location/viewpoint to animate to in the goTo() method. A two or three-element array of numbers represents the [x,y,z] coordinates to center the view on. When using an object for the target, use the properties in this record.

public class GoToTarget :
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Widgets.GoToTarget>

Inheritance System.Object 🡒 GoToTarget

Implements System.IEquatable<GoToTarget>

Constructors

GoToTarget(object, double[], Nullable, Nullable, Nullable, Nullable, Point, Geometry[], Graphic[], Geometry, Graphic) Constructor

The target location/viewpoint to animate to in the goTo() method. A two or three-element array of numbers represents the [x,y,z] coordinates to center the view on. When using an object for the target, use the properties in this record.

public GoToTarget(object? Target, double[]? Center, System.Nullable<double> Scale, System.Nullable<double> Zoom, System.Nullable<double> Heading, System.Nullable<double> Tilt, dymaptic.GeoBlazor.Core.Components.Geometries.Point? Position, dymaptic.GeoBlazor.Core.Components.Geometries.Geometry[]? TargetGeometries, dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]? TargetGraphics, dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? TargetGeometry, dymaptic.GeoBlazor.Core.Components.Layers.Graphic? TargetGraphic);

Parameters

Target System.Object

The target of the animation.

Center System.Double[]

The MapView.Center to go to.

Scale System.Nullable<System.Double>

The MapView.Scale to go to.

Zoom System.Nullable<System.Double>

The MapView.Zoom to go to.

Heading System.Nullable<System.Double>

The Camera.Heading to go to.

Tilt System.Nullable<System.Double>

The Camera.Tilt to go to.

Position Point

The Camera.Position to go to.

TargetGeometries Geometry[]

The target as an array of Geometries.

TargetGraphics Graphic[]

The target as an array of Graphics.

TargetGeometry Geometry

The target as a single Geometry.

TargetGraphic Graphic

The target as a single Graphic.

Properties

GoToTarget.Center Property

The MapView.Center to go to.

public double[]? Center { get; set; }

Property Value

System.Double[]

GoToTarget.Heading Property

The Camera.Heading to go to.

public System.Nullable<double> Heading { get; set; }

Property Value

System.Nullable<System.Double>

GoToTarget.Position Property

The Camera.Position to go to.

public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Position { get; set; }

Property Value

Point

GoToTarget.Scale Property

The MapView.Scale to go to.

public System.Nullable<double> Scale { get; set; }

Property Value

System.Nullable<System.Double>

GoToTarget.Target Property

The target of the animation.

public object? Target { get; set; }

Property Value

System.Object

GoToTarget.TargetGeometries Property

The target as an array of Geometries.

public dymaptic.GeoBlazor.Core.Components.Geometries.Geometry[]? TargetGeometries { get; set; }

Property Value

Geometry[]

GoToTarget.TargetGeometry Property

The target as a single Geometry.

public dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? TargetGeometry { get; set; }

Property Value

Geometry

GoToTarget.TargetGraphic Property

The target as a single Graphic.

public dymaptic.GeoBlazor.Core.Components.Layers.Graphic? TargetGraphic { get; set; }

Property Value

Graphic

GoToTarget.TargetGraphics Property

The target as an array of Graphics.

public dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]? TargetGraphics { get; set; }

Property Value

Graphic[]

GoToTarget.Tilt Property

The Camera.Tilt to go to.

public System.Nullable<double> Tilt { get; set; }

Property Value

System.Nullable<System.Double>

GoToTarget.Zoom Property

The MapView.Zoom to go to.

public System.Nullable<double> Zoom { get; set; }

Property Value

System.Nullable<System.Double>