dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

Bookmark Class

A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest
using the Bookmarks widget.
ArcGIS Maps SDK for JavaScript

public class Bookmark : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Bookmark

Constructors

Bookmark() Constructor

Parameterless constructor for use as a Razor Component.

public Bookmark();

Bookmark(string, TimeExtent, BookmarkThumbnail, Viewpoint) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public Bookmark(string? name=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? timeExtent=null, dymaptic.GeoBlazor.Core.Model.BookmarkThumbnail? thumbnail=null, dymaptic.GeoBlazor.Core.Components.Viewpoint? viewpoint=null);

Parameters

name System.String

The name of the bookmark item.
ArcGIS Maps SDK for JavaScript

timeExtent TimeExtent

The time extent of the bookmark item.
ArcGIS Maps SDK for JavaScript

thumbnail BookmarkThumbnail

The URL for a thumbnail image.
ArcGIS Maps SDK for JavaScript

viewpoint Viewpoint

The viewpoint of the bookmark item.
ArcGIS Maps SDK for JavaScript

Properties

Bookmark.Name Property

The name of the bookmark.

public string? Name { get; set; }

Property Value

System.String

Bookmark.Thumbnail Property

The URL for a thumbnail image.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.BookmarkThumbnail? Thumbnail { get; set; }

Property Value

BookmarkThumbnail

Bookmark.TimeExtent Property

The extent of the specified bookmark.

public dymaptic.GeoBlazor.Core.Components.TimeExtent? TimeExtent { get; set; }

Property Value

TimeExtent

Bookmark.Viewpoint Property

The viewpoint of the bookmark item.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Viewpoint? Viewpoint { get; set; }

Property Value

Viewpoint

Methods

Bookmark.GetName() Method

Asynchronously retrieve the current value of the Name property.

public System.Threading.Tasks.Task<string?> GetName();

Returns

System.Threading.Tasks.Task<System.String>

Bookmark.GetThumbnail() Method

Asynchronously retrieve the current value of the Thumbnail property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.BookmarkThumbnail?> GetThumbnail();

Returns

System.Threading.Tasks.Task<BookmarkThumbnail>

Bookmark.GetTimeExtent() Method

Asynchronously retrieve the current value of the TimeExtent property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeExtent?> GetTimeExtent();

Returns

System.Threading.Tasks.Task<TimeExtent>

Bookmark.GetViewpoint() Method

Asynchronously retrieve the current value of the Viewpoint property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Viewpoint?> GetViewpoint();

Returns

System.Threading.Tasks.Task<Viewpoint>

Bookmark.SetName(string) Method

Asynchronously set the value of the Name property after render.

public System.Threading.Tasks.Task SetName(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

Bookmark.SetThumbnail(BookmarkThumbnail) Method

Asynchronously set the value of the Thumbnail property after render.

public System.Threading.Tasks.Task SetThumbnail(dymaptic.GeoBlazor.Core.Model.BookmarkThumbnail? value);

Parameters

value BookmarkThumbnail

The value to set.

Returns

System.Threading.Tasks.Task

Bookmark.SetTimeExtent(TimeExtent) Method

Asynchronously set the value of the TimeExtent property after render.

public System.Threading.Tasks.Task SetTimeExtent(dymaptic.GeoBlazor.Core.Components.TimeExtent? value);

Parameters

value TimeExtent

The value to set.

Returns

System.Threading.Tasks.Task

Bookmark.SetViewpoint(Viewpoint) Method

Asynchronously set the value of the Viewpoint property after render.

public System.Threading.Tasks.Task SetViewpoint(dymaptic.GeoBlazor.Core.Components.Viewpoint? value);

Parameters

value Viewpoint

The value to set.

Returns

System.Threading.Tasks.Task

Bookmark.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()