<?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 ExportWebMap - drawing labels for point graphics in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605688#M2898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Working with the ExportWebMap service in 10.1 Beta 2, I've so far been able to figure out on how to construct the JSON to do what I want through a combination of the REST API and ExportWebMap Spec doc, and tracing the 10.1 JS Print sample using Fiddler. However I�??ve hit a block today that I need some help getting through..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do is drive the ExportWebMap service to draw a map graphics layer �?? simple points in this case, but then label those points. So nothing actually being served from ArcGIS Server �?? all geometry and attributes specified in the JSON sent to the service. I�??ve had success using the labelingInfo element on a dynamic layer drawing polygons with a unique values renderer (attached file JSON_ExportWebMap_Label_Hornsby.txt)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The other attached file (JSON_FeatureCollection_Label.txt) is where I�??m at trying to send a point feature collection with labels. I get the points �?? not the labels.&amp;nbsp; Params I�??m sending&amp;nbsp; in addition to this JSON are format=PNG32, lauout template=MAP_ONLY, spatial refs=4326. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any input on where I've gone wrong with the JSON would be much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 21:37:37 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-02-21T21:37:37Z</dc:date>
    <item>
      <title>ExportWebMap - drawing labels for point graphics</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605688#M2898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Working with the ExportWebMap service in 10.1 Beta 2, I've so far been able to figure out on how to construct the JSON to do what I want through a combination of the REST API and ExportWebMap Spec doc, and tracing the 10.1 JS Print sample using Fiddler. However I�??ve hit a block today that I need some help getting through..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do is drive the ExportWebMap service to draw a map graphics layer �?? simple points in this case, but then label those points. So nothing actually being served from ArcGIS Server �?? all geometry and attributes specified in the JSON sent to the service. I�??ve had success using the labelingInfo element on a dynamic layer drawing polygons with a unique values renderer (attached file JSON_ExportWebMap_Label_Hornsby.txt)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The other attached file (JSON_FeatureCollection_Label.txt) is where I�??m at trying to send a point feature collection with labels. I get the points �?? not the labels.&amp;nbsp; Params I�??m sending&amp;nbsp; in addition to this JSON are format=PNG32, lauout template=MAP_ONLY, spatial refs=4326. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any input on where I've gone wrong with the JSON would be much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 21:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605688#M2898</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-21T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: ExportWebMap - drawing labels for point graphics</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605689#M2899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: fcbassongis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar scenario and get the same results as you have described - graphics draw, but no labels.&amp;nbsp; Also see this forum topic: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task"&gt;http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605689#M2899</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-19T07:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: ExportWebMap - drawing labels for point graphics</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605690#M2900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently LabelinglInfo is not supported for layers in featureCollection (aka graphic layers).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to draw labels on top of features, you need to have a separate layer (of point type) inside the featureCollection with geometries defining the location where labels will be drawn and text symbols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here i have attached a json (modified version of yours) that shows how to draw labels.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also attached the output from a printing service using the json.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tanu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/exportwebmap-drawing-labels-for-point-graphics/m-p/605690#M2900</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2013-11-20T18:23:52Z</dc:date>
    </item>
  </channel>
</rss>

