I have a CSV file in the following form:
I have generated the corresponding shape file and used a ShapefileFeatureTable and FeatureLayer, but when the shape is displayed on the map only the points are shown. How can I also visualize the name attribute to the corresponding points?
In the attached image is what I've done so far.
I need to do this using the API ArcGis SDK for Java
Seems like you just need to label the features. You can use the Label tool on the Drawing toolbar to click each feature you want to display the name for, or you can use dynamic labels by enabling them in the feature Layer Properties dialog.
Well, there are some options:
1) Set labels for Feature Layer - setEnableLabels method
2) Make a use of TextSymbol for Graphic in Grpahic Layers
3) Try to use MapTips
Hope this helps,
Sorry for the delay of my response, I'd been working out.
Option 2 is not an alternative because I have a great number of points, and all of them are placed dynamically.
I've tried option 3 and works great. Thanks a lot.
But I'd like to have the labes there permanently, not only when mouse hovers them, so that I tried the option 1 inside a layerInitializeComplete listener (as the documentation commands) but it happens nothing. There is none of the labels. And I don't receive any exception. Is there a preparing procedure before turn the labels visibility on?