ComponentOne Maps for WPF and Silverlight
C1Maps Control Basics / C1Maps Concepts and Main Properties
In This Topic
    C1Maps Concepts and Main Properties
    In This Topic

    This section details basic C1Maps concepts and describes the main properties.

    Map Source

    C1Maps can display geographical information from several sources. By default, C1Maps uses Microsoft LiveMaps aerial photographs as the source, but you can change that using the Source property, which takes an object of type MultiScaleTileSource.

    The following sources are included:

    Visible Map

    The portion of the map that is currently visible is determined by the Center and Zoom properties, and by the size of the control:

    The Center property is of type Point but it actually represents a geographic coordinate in which the X property is longitude and the Y property is latitude. The user can change the value of the Center property by dragging the map with the mouse, or by using the navigator control shown on the left top corner.

    The Zoom property indicates the current resolution of the map. A zoom value of 0 has the map totally zoomed out, and each increment of 1 doubles the map resolution. The user can change the value of the Zoom property using the mouse wheel or the zoom control on the left side of the control.

    Coordinate Systems

    C1Maps uses three coordinate systems:

    C1Maps provides four methods for converting between these coordinate systems: ScreenToGeographicScreenToLogicGeographicToScreen, and LogicToScreen. The conversion between geographic and logic coordinates is done by the projection configured using the C1Maps.Projection property. The projection can be changed to support a different map, the default is the Mercator projection used by LiveMaps and most other providers.

    Information Layers

    In addition to the geographical information provided by the source, you can add layers of information to the map. C1Maps includes five layers by default:

    Note: C1Maps only works in solutions that include a Web site or Web application project. If you use it in a standalone, single-project Silverlight solution, it will not display anything.

     

    See Also