skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MapShapeData

Represents shape data (geographical and logical coordinates).

Inheritance
System.Object
ExtendedDataProvider
MapShapeData
EllipseData
LineData
PathData
PolylineData
RectangleData
Inherited Members
ExtendedDataProvider.OnPropertyChanged(String)
ExtendedDataProvider.ExtendedData
ExtendedDataProvider.Layer
ExtendedDataProvider.Location
ExtendedDataProvider.ToolTipFormat
ExtendedDataProvider.ToolTipTemplate
ExtendedDataProvider.ToolTipStyle
ExtendedDataProvider.ZIndex
ExtendedDataProvider.PropertyChanged
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public abstract class MapShapeData : ExtendedDataProvider, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable
Remarks

Can be created in the background thread and used in the UI thread.

Constructors

MapShapeData()

Declaration
protected MapShapeData()

Properties

ActiveShapeFill

Gets or sets currently applied shape fill properties.

Declaration
public MapShapeFill ActiveShapeFill { get; set; }
Property Value
MapShapeFill

GeoBounds

Gets geographical bounds of the shape.

Declaration
public LocationRect GeoBounds { get; }
Property Value
LocationRect

Implements
IGeoSizeProvider.GeoBounds

Geometry

Gets on-screen geometry.

Declaration
public Geometry Geometry { get; }
Property Value
System.Windows.Media.Geometry

GeoSize

Gets or sets geographical size of the shape.

Declaration
public Size GeoSize { get; }
Property Value
System.Windows.Size

Implements
IGeoSizeProvider.GeoSize

HighlightFill

Gets or sets the highlight shape fill properties.

Declaration
public MapShapeFill HighlightFill { get; set; }
Property Value
MapShapeFill

Implements
IColorable.HighlightFill

InitStarted

Gets the value which indicates that the initialization is started.

Declaration
protected bool InitStarted { get; }
Property Value
System.Boolean

IsHighlighted

Gets value which indicates what shape filling (regular or highlighted) is used currently.

Declaration
public bool IsHighlighted { get; }
Property Value
System.Boolean

IsSelected

Gets value which indicates what shape filling (regular or selected) is used currently.

Declaration
public bool IsSelected { get; }
Property Value
System.Boolean

RenderTransform

Gets or sets the Transform object applied to the shape.

Declaration
public Transform RenderTransform { get; set; }
Property Value
System.Windows.Media.Transform

RenderTransformOrigin

Gets or sets the center point of any possible render transform declared by MapShapeData.RenderTransform, relative to the bounds of the element.

Declaration
public Point RenderTransformOrigin { get; set; }
Property Value
System.Windows.Point

SelectedFill

Gets or sets the selected shape fill properties.

Declaration
public MapShapeFill SelectedFill { get; set; }
Property Value
MapShapeFill

SerializedHighlightFill

Gets or sets the highlight shape fill properties as string.

Declaration
public MapShapeDataFill SerializedHighlightFill { get; set; }
Property Value
MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

SerializedSelectedFill

Gets or sets the selected shape fill properties as string.

Declaration
public MapShapeDataFill SerializedSelectedFill { get; set; }
Property Value
MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

SerializedShapeFill

Gets or sets the shape fill properties as string.

Declaration
public MapShapeDataFill SerializedShapeFill { get; set; }
Property Value
MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

ShapeFill

Gets or sets the regular shape fill properties.

Declaration
public MapShapeFill ShapeFill { get; set; }
Property Value
MapShapeFill

Implements
IColorable.ShapeFill

SpatialReference

Gets or sets spatial reference.

Declaration
public ISpatialReference SpatialReference { get; set; }
Property Value
ISpatialReference

ToScreenParameters

Gets or sets parameters of the conversion of the logical coordinates to screen coordinates.

Declaration
public LogicalToScreenParameters ToScreenParameters { get; set; }
Property Value
LogicalToScreenParameters

Transform

Gets on-screen transformation.

Declaration
public Transform Transform { get; }
Property Value
System.Windows.Media.Transform

Wrapper

Gets bindable wrapper for this map shape data.

Declaration
public MapShapeBindableWrapper Wrapper { get; }
Property Value
MapShapeBindableWrapper

Methods

Arrange()

Arrange item according to its Location.

Declaration
protected override void Arrange()
Overrides
ExtendedDataProvider.Arrange()

BeginInit()

Starts the initialization process for the shape.

Declaration
public void BeginInit()

CalculateLogicalCoordinates()

Calculates logical coordinates for the current projection.

Declaration
protected virtual void CalculateLogicalCoordinates()

EndInit()

Indicates that the initialization process for the shape is complete.

Declaration
public void EndInit()

EndInit(Boolean)

Indicates that the initialization process for the shape is complete.

Declaration
public void EndInit(bool updateShape)
Parameters
System.Boolean updateShape

Indicates whether shape geometry should be updated.

GetScreenGeometry(Int32)

Calculates screen geometry.

Declaration
protected abstract string GetScreenGeometry(int zoomLevel)
Parameters
System.Int32 zoomLevel

Zoom level to get screen geometry for.

Returns
System.String

String representation of the screen geometry.

SetLogicalWidth(Int32)

Sets logical width for the specified zoom level.

Declaration
protected void SetLogicalWidth(int zoomLevel)
Parameters
System.Int32 zoomLevel

UpdateGeoBounds()

Updates geographic bounds of the shape.

Declaration
protected abstract void UpdateGeoBounds()

UpdateShape()

Update shape.

Declaration
protected void UpdateShape()

UseHighlightFill()

Use highlight fill and stroke settings.

Declaration
public void UseHighlightFill()

UseRegularFill()

Use regular fill and stroke settings.

Declaration
public void UseRegularFill()

UseSelectedFill()

Use selected fill and stroke settings.

Declaration
public void UseSelectedFill()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.