Hello Listers,
        I have just started using MapXtreme Java. I am trying to edit a
layer ( add a feature via FeartureFactory.createPoint(....) method ) but am
getting an IncompatibleFeatureException. I am also using the
AnnotationDataProviderHelper and AnnotationTableDescHelper classes.
The line at which I am getting the exception is 
        "myMap.getLayers().getLayer("LA").addFeature(ff.createPoint(dp,
null, null, null));"
        where myMap = obj of type MapJ and ff = obj of type FeartureFactory
com.mapinfo.dp.annotation.IncompatibleFeatureException
        at
com.mapinfo.dp.annotation.AnnotationDataProvider.checkFeature([DashoPro-V1.2
-120198])
        at
com.mapinfo.dp.annotation.AnnotationDataProvider.a([DashoPro-V1.2-120198])
        at
com.mapinfo.dp.annotation.AnnotationDataProvider.addFeature([DashoPro-V1.2-1
20198])
        at com.mapinfo.mapj.Layer.addFeature([DashoPro-V1.2-120198])
Can someone point out what wrong am I doing?
Also can you send me sample code where the same is being achieved?

Thanx in advance,
Sachin D
[EMAIL PROTECTED]



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to