Skip to main content
A newer version of this page is available. .

IMapItemFactory.CreateMapItem(MapItemType, Object) Method

If implemented by a class, creates a map item of the specified type.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.2.dll

Declaration

MapItem CreateMapItem(
    MapItemType type,
    object obj
)

Parameters

Name Type Description
type MapItemType

A MapItemType enumeration value specifying the type of the created map item.

obj Object

A Object specifying the object.

Returns

Type Description
MapItem

A MapItem object which represents a map item of the specified type.

Remarks

Implement the CreateMapItem method to define a way of creating new map items using the IMapItemFactory.

See Also