Dear Jayaprakash,

A MapX layer only has one field! This is the identifier which (normally) 
uniquely identifies the feature.  If your MapInfo table has more than one 
field then the field that will be used for labelling by default is the 
first field.  The option in the geoset manager to label with other fields 
doesn't entirely make sense to me as there is no dataset available to get 
the field from.

Essentially if you want to label by another field you will have to write 
some code in your application which:

1.   Adds a dataset which refers to the original MapInfo table and is bound 
to the layer in your map
2.   Uses the Map.Layer.LabelProperties.Dataset and 
Map.Layer.LabelProperties.DataField properties to select the field to label 
with.

This will still not make the field available in the geoset manager however 
you will be able to use any field for labelling within your aplication.

Hope this helps.

Rob

Robert Fenwick
Rellas Consulting Pty Ltd
PO Box 195,  Mapleton,  Qld,  Australia  4560
[EMAIL PROTECTED]
+61 7 54457765    fax  +61 7 54457796






-----Original Message-----
From:   Jayaprakash Athmaram [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, 27 June 1999 18:48
To:     [EMAIL PROTECTED]
Subject:        MI MapX Layer Labelling properties

Hi Map Lovers,

        
        Iam using MapX V 3 . I had created a Geoset and I had to label the
particular layer with feature name  (say the names of the hotels ) , but
this field is not showing up in the geoset layers dialog.

        I have also indexed the particular field which needs to be labelled
. Iam not able to figure out whats the problem.

        - I just wanted to lable a particular layer in the geoset of MapX
but the layer with options says "none" !!

Thanks in Advance...

************************************************************************  
****
*
Regards,
Jayprakash.A
GIS Executive
TATA Infotech Ltd.
************************************************************************  
****
*
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to