Defines the fluent API for configuring the Telerik UI for ASP.NET Core Map shape layer GeoJSON data source.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GeoJsonDataSourceBuilder
Inheritance: objectGeoJsonDataSourceBuilder
Inherited Members
Constructors
Member documentation.
public GeoJsonDataSourceBuilder(DataSource dataSource, ViewContext viewContext, IUrlGenerator urlGenerator)
Methods
Configures the Read operation of the GeoJSON DataSource.
public GeoJsonDataSourceBuilder Read(Action<CrudOperationBuilder> configurator)
The action that configures the Read operation settings.
Returns:Returns the current GeoJsonDataSourceBuilder instance.
Configures the Controller, Action, and route values for the Read operation of the GeoJSON DataSource.
public GeoJsonDataSourceBuilder Read(string actionName, string controllerName, object routeValues)
Action name
controllerNamestringController Name
routeValuesobjectRoute values
Returns:Returns the current GeoJsonDataSourceBuilder instance.
Configures the Controller and Action for the Read operation of the GeoJSON DataSource.
public GeoJsonDataSourceBuilder Read(string actionName, string controllerName)
Action name
controllerNamestringController Name
Returns:Returns the current GeoJsonDataSourceBuilder instance.
Member documentation.
protected virtual void SetOperationUrl(CrudOperation operation, string actionName, string controllerName, object routeValues)