This method returns the FeatureAPI object corresponding to the map.  The method is used as shown below.

In VC++, allocated on the heap (assuming mapAPI is an instance of MapAPI):

  1. IFeatureAPI* featAPI = new IFeatureAPI;

  2. featAPI->m_lpDispatch = mapAPI.getFeatureAPI();

In VC++, on the stack (assuming mapAPI is an instance of MapAPI):

  1. IFeatureAPI featAPI;

  2. featAPI.m_lpDispatch = mapAPI.getFeatureAPI();

In VB (assuming mapAPI is a MapAPI object):

In the declarations:

Public featAPI As Object


Private featAPI As Object

Where needed:

Set featAPI = mapAPI.getFeatureAPI

The client receives an instance of this object shared by other clients, if any.