<?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 selected features symbol cut-off on border of the screen in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589350#M55073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I select features on feature layers as per the following example in my application. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jssamples/query_buffer.html" rel="nofollow" target="_blank"&gt;Select with Feature Layer | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the features are selected, I use following code to set an extent of the map. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gisMap.setExtent(graphicsUtils.graphicsExtent(selectedFeatures));&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is - when the features are highlighted using symbol/text, they slightly cut-off on the screen (see Capture1.jpg attached). If I zoom-in then it appears properly (see Capture2.jpg attached). How can I fix this issue so, selected features with symbols appear properly on the screen without cut-off? I wonder if I need to manipulate the extent manually by some value e.g. xmin-1000, ymin-100 etc. Not sure if this is correct approach to do. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 14:51:14 GMT</pubDate>
    <dc:creator>BhavinSanghani</dc:creator>
    <dc:date>2014-11-03T14:51:14Z</dc:date>
    <item>
      <title>selected features symbol cut-off on border of the screen</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589350#M55073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I select features on feature layers as per the following example in my application. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jssamples/query_buffer.html" rel="nofollow" target="_blank"&gt;Select with Feature Layer | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the features are selected, I use following code to set an extent of the map. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gisMap.setExtent(graphicsUtils.graphicsExtent(selectedFeatures));&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is - when the features are highlighted using symbol/text, they slightly cut-off on the screen (see Capture1.jpg attached). If I zoom-in then it appears properly (see Capture2.jpg attached). How can I fix this issue so, selected features with symbols appear properly on the screen without cut-off? I wonder if I need to manipulate the extent manually by some value e.g. xmin-1000, ymin-100 etc. Not sure if this is correct approach to do. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 14:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589350#M55073</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2014-11-03T14:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: selected features symbol cut-off on border of the screen</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589351#M55074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your map contains a tiled layer, there's an optional parameter you can use in &lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#setextent"&gt;setExtent&lt;/A&gt; to make sure the new extent is fully contained in the map view. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gisMap.setExtent(graphicsUtils.graphicsExtent(selectedFeatures), true);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 15:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589351#M55074</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-11-03T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: selected features symbol cut-off on border of the screen</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589352#M55075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I am not using tile layer. I am using ArcGISDynamicMapServiceLayer. Is there any way to achieve it using dynamic layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 15:29:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-symbol-cut-off-on-border-of-the/m-p/589352#M55075</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2014-11-03T15:29:42Z</dc:date>
    </item>
  </channel>
</rss>

