GeofencesEditorT Class

Internal editor for working with GeofenceDtos.

Definition

Namespace: MobileTrack.Web.Portal.Components.ItemEditors
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class GeofencesEditor<T> : MtBaseComponent, 
	IAsyncDisposable
where T : class, IIdLabel, IHasEnvironment, IHasGeofences, IHasLocation
Inheritance
Object    ComponentBase    MtBaseComponent    GeofencesEditorT
Implements
IAsyncDisposable

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:MobileTrack.Web.Portal.Components.ItemEditors.GeofencesEditor`1"]

Remarks

This could not be placed inside the GeofencesTabT directly, given it would be part of the ChildContent render fragment, making StateHasChanged not be possible to be invoked.

Warning: This component assumes Item's Location property is not ! Otherwise, this component will break!

Constructors

GeofencesEditorTInitializes a new instance of the GeofencesEditorT class

Properties

CanLoadMap If , the map will load and display the geofences for the item immediately after startup. If , the map will not load until the user clicks on the tab, to prevent incurring costs for a map the user will not view.
ConfirmDialog Confirm dialog to show when deleting a geofence.
GoogleMap Google map entity.
GoogleMapOptions Google Maps options for the overview map.
GoogleMapsKeyService Dependency injection for the IBlazorGoogleMapsKeyService to load the Google Maps API with.
Item Item to retrieve logs for.

Methods

DecorateMap Decorates the google map with geofences.
DisposeAsync Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

See Also