Map TagHelper Overview

The Telerik UI Map TagHelper for ASP.NET Core is a server-side wrapper for the Kendo UI Map widget.

The Map displays geospatial information organized in layers and is supported for both desktop and mobile devices. The layers which the Map supports are tile, shape (vector), and marker layers.

Telerik UI for ASP.NET Core Ninja image

The Map is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the Map

The following example demonstrates how to define the Map by using the Map TagHelper.

<kendo-map name="map" center="new double[] { 30.268107, -97.744821 }" zoom="3"></kendo-map>

Basic Configuration

The Map TagHelper configuration options are passed as attributes of the tag.

    <kendo-map name="map" center="new double[] { 30.268107, -97.744821 }"              zoom="3">
                        <open duration="1200" effects="zoom:in" />
            <map-marker location="new double[] { 30.268107, -97.744821 }"  shape="MapMarkersShape.PinTarget">
                <tooltip content="Austin, TX"></tooltip>
            <layer type="MapLayerType.Bing"
        .Center(30.268107, -97.744821)
        .Layers(layers =>
        .Markers(markers =>
                .Location(30.268107, -97.744821)
                .Tooltip(tooltip => tooltip.Content("Austin, TX"));

See Also

In this article
Not finding the help you need? Improve this article