layout: default title: SceneView parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Views
SceneView Class
A SceneView displays a 3D view of a Map or WebScene instance using WebGL. To render a map and its layers in 2D, see
the documentation for MapView. For a general overview of views, see View.
ArcGIS Maps SDK for JavaScript
public class SceneView : dymaptic.GeoBlazor.Core.Components.Views.MapView
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 MapView 🡒 SceneView
Example
Properties
SceneView.Tilt Property
The tilt of the camera in degrees with respect to the surface as projected down from the camera position.
public System.Nullable<double> Tilt { get; set; }
Property Value
System.Nullable<System.Double>
SceneView.ZIndex Property
The Z-Index (elevation) of the camera position over the view.
public System.Nullable<double> ZIndex { get; set; }
Property Value
System.Nullable<System.Double>
Methods
SceneView.GoTo(IEnumerable) Method
Changes the view dymaptic.GeoBlazor.Core.Components.Views.MapView.Extent and redraws.
public override System.Threading.Tasks.Task GoTo(System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.Graphic> graphics);
Parameters
graphics
System.Collections.Generic.IEnumerable<Graphic>
The Graphics to zoom to.
Returns
SceneView.OnJavascriptExtentChanged(Extent, Point, double, double, Nullable, Nullable) Method
JS-Invokable method to return when the map view Extent changes.
public override System.Threading.Tasks.Task OnJavascriptExtentChanged(dymaptic.GeoBlazor.Core.Components.Geometries.Extent extent, dymaptic.GeoBlazor.Core.Components.Geometries.Point? center, double zoom, double scale, System.Nullable<double> rotation=null, System.Nullable<double> tilt=null);
Parameters
extent
Extent
center
Point
zoom
System.Double
scale
System.Double
rotation
System.Nullable<System.Double>
tilt
System.Nullable<System.Double>
Returns
SceneView.SetCenter(Point) Method
Sets the center Point of the current view.
public override System.Threading.Tasks.Task SetCenter(dymaptic.GeoBlazor.Core.Components.Geometries.Point point);
Parameters
point
Point
Returns
SceneView.SetExtent(Extent) Method
Sets the dymaptic.GeoBlazor.Core.Components.Views.MapView.Extent of the view.
public override System.Threading.Tasks.Task SetExtent(dymaptic.GeoBlazor.Core.Components.Geometries.Extent extent);
Parameters
extent
Extent
Returns
SceneView.SetScale(double) Method
Sets the scale of the current view.
public override System.Threading.Tasks.Task SetScale(double scale);
Parameters
scale
System.Double
Returns
SceneView.SetZoom(double) Method
Sets the zoom level of the current view.
public override System.Threading.Tasks.Task SetZoom(double zoom);
Parameters
zoom
System.Double