• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

Shape Layer

Overview

The Map Shape layer displays vector maps encoded in the industry-standard GeoJSON format.

Binding to GeoJSON Data

The following example demonstrates how to bind a Shape layer to GeoJSON data:

Example
View Source
Change Theme:

Customizing Shapes

The layer is rendered using the Drawing API and can be customized.

The following example demonstrates how the set the shape color in the shapeCreatedEvent

Example
View Source
Change Theme:

Tooltips

The Map has a built-in tooltip for shapes. To display the tooltip, define a shape tooltip template.

The available inputs for the shape tooltip template are:

  • dataItem—The original data item used to create the shape.
  • location—The location of the center of the shape.

The shape tooltip is demonstrated in the example below:

Example
View Source
Change Theme: