Select to view content in your preferred language

Labels not displaying in ArcGIS Mobile Application

4895
11
02-20-2011 08:41 PM
SimonGurner
Emerging Contributor
Hello ArcGIS Mobile Gurus!

I am building a Desktop ArcGIS Mobile Application using C# Microsoft Vis Studio 2008 for data editing in the field using a tablet PC. I have an mxd that has a layer which I want to label, so in my mxd I have setup to layer on a field using Tahoma font size 8. It shows up in my mxd with my label - good as gold! I extract the data to a map cache using the Create Mobile Map tool in ArcCatalog (I want to create a standalone python script that does this and it does not work but that is a separate issue!). When I connect my map control all my layers display similarly to what they do in ArcMap but my labels do not appear!!! Why? I am NOT using any kind of expression to concatenate strings to form my label - I am just labelling straight off a field. But my labels do not appear. Does anyone have any ideas? This is very annoying and will make it difficult for my application to be a success.

Any help appreciated!

Regards,

Simon
0 Kudos
11 Replies
EzequiasRodrigues_da_Rocha
Regular Contributor
If a post provides the answer to your question, then we encourage you to mark the post as "the answer" by activating the green check mark  right of the post. You can also "vote" on posts that you find helpful by clicking the blue caret mark. More information about the ArcGIS Discussion Forums MVP Program found here.

Thank you,
Esri Support


Any alternative beyond the annotation one so far?
Prior we had the Paint event with the DrawText but in 10.1 we don't have it anymore.

Regards
Ezequias
0 Kudos
EzequiasRodrigues_da_Rocha
Regular Contributor
I got the solution by using MapGraphicLayers.

See attached to see if it is what you are looking for.
0 Kudos