IProjectable Interface

This documentation is no longer available on MSDN, however it is available as a CHM download.

Defines the base interface for all UIElement objects that use a projection to render themselves on a map.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Interface IProjectable
public interface IProjectable
public interface class IProjectable
public interface IProjectable
public interface IProjectable

Remarks

An implementation of IProjectable must do following:

  • Override the MeasureOverride and ArrangeOverride and use those for the projection logic.

  • Use the ProjectionUpdated method to arrange and measure.

  • Hierarchically retrieve the parent map, and if the parent is not an IProjectable, throw an exception.

  • Always assume parent map’s ViewportSize is the actual size when measuring and arranging.

  • Call the ProjectionUpdated method on all children that implement IProjectable.

Examples of a projectable include: a layer object that can position its children, a polygon that positions its points based on a projection, or a tile layer that modifies its tile list and tile placement based on a projection.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

IProjectable Members
Microsoft.Maps.MapControl.Core Namespace