<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to display a name attribute from a ShapefileFeatureTable on the map? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419301#M1311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there are some options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Set labels for Feature Layer - setEnableLabels method&lt;/P&gt;&lt;P&gt;2) Make a use of TextSymbol for Graphic in Grpahic Layers&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/guide/add-graphics-and-text-to-graphic-overlays.htm" title="https://developers.arcgis.com/java/guide/add-graphics-and-text-to-graphic-overlays.htm"&gt;Add graphics and text—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;3) Try to use MapTips&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/guide/show-map-tips.htm" title="https://developers.arcgis.com/java/guide/show-map-tips.htm"&gt;Show MapTips—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 08:44:19 GMT</pubDate>
    <dc:creator>nita14</dc:creator>
    <dc:date>2016-01-28T08:44:19Z</dc:date>
    <item>
      <title>How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419297#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a CSV file in the following form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Name,Latitude,Longitude&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;VS01,2153797.44782777,-10702155.84486526&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;VS02,2157776.89764107,-10702274.58364621&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated the corresponding shape file and used a &lt;STRONG&gt;ShapefileFeatureTable&lt;/STRONG&gt; and &lt;STRONG&gt;FeatureLayer&lt;/STRONG&gt;, 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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached image is what I've done so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do this using the API ArcGis SDK for Java&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419297#M1307</guid>
      <dc:creator>EdgarCanul</dc:creator>
      <dc:date>2016-01-13T21:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419298#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like you just need to label the features. You can use the &lt;EM&gt;Label&lt;/EM&gt; 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 &lt;EM&gt;Layer Properties&lt;/EM&gt; dialog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419298#M1308</guid>
      <dc:creator>PatrickMarren</dc:creator>
      <dc:date>2016-01-13T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419299#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry! I forgot to mention that I need to do this programmatically. I'm doing this using the ArcGis SDK for Java 10.2.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419299#M1309</guid>
      <dc:creator>EdgarCanul</dc:creator>
      <dc:date>2016-01-13T21:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419300#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, can't help with that, but your question is probably better asked in &lt;A href="http://https//geonet.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-java"&gt;ArcGIS SDK for Java&lt;/A&gt;​.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419300#M1310</guid>
      <dc:creator>PatrickMarren</dc:creator>
      <dc:date>2016-01-13T21:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419301#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there are some options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Set labels for Feature Layer - setEnableLabels method&lt;/P&gt;&lt;P&gt;2) Make a use of TextSymbol for Graphic in Grpahic Layers&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/guide/add-graphics-and-text-to-graphic-overlays.htm" title="https://developers.arcgis.com/java/guide/add-graphics-and-text-to-graphic-overlays.htm"&gt;Add graphics and text—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;3) Try to use MapTips&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/guide/show-map-tips.htm" title="https://developers.arcgis.com/java/guide/show-map-tips.htm"&gt;Show MapTips—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419301#M1311</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2016-01-28T08:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419302#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;Sorry for the delay of my response, I'd been working out. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;Option 2 is not an alternative because I have a great number of points, and all of them are placed dynamically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;I've tried option 3 and works great. Thanks a lot. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419302#M1312</guid>
      <dc:creator>EdgarCanul</dc:creator>
      <dc:date>2016-02-26T19:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a name attribute from a ShapefileFeatureTable on the map?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419303#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edgar,&lt;/P&gt;&lt;P&gt;You need to set the labels in ArcGIS for Desktop and then Create a Runtime Content geodatabase. This works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-display-a-name-attribute-from-a/m-p/419303#M1313</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2016-02-26T19:53:28Z</dc:date>
    </item>
  </channel>
</rss>

