<?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 How to add text to the map as a graphic? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258490#M23940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The draw toolbar allows the user to create points, lines and polygons, which can be added to the map as graphic objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a similar mechanism to create free text? This would be similar to the Draw toolbar in ArcMap, which has an option to add labels.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 10:04:38 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2013-02-22T10:04:38Z</dc:date>
    <item>
      <title>How to add text to the map as a graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258490#M23940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The draw toolbar allows the user to create points, lines and polygons, which can be added to the map as graphic objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a similar mechanism to create free text? This would be similar to the Draw toolbar in ArcMap, which has an option to add labels.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 10:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258490#M23940</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-02-22T10:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add text to the map as a graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258491#M23941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use TextSymbol for this purpose. Here is the API reference link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#textsymbol" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#textsymbol&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Rahul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 10:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258491#M23941</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2013-02-22T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add text to the map as a graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258492#M23942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rahul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you could attach a listener to the draw toolbar, and pop up a text-input object to ask for the text input, then symbolise it with a textSymbol. Cool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258492#M23942</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-02-22T19:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add text to the map as a graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258493#M23943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can add a tool for text label in draw toolbar. Add the necessary graphic layer when it is clicked. Then start listening for map click event. On map click event you can show a info window where user can enter label information, set the font etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 03:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-text-to-the-map-as-a-graphic/m-p/258493#M23943</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2013-02-23T03:24:17Z</dc:date>
    </item>
  </channel>
</rss>

