<?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: Graphic Layer not Showing up in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594531#M55689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the query.where cause necessary?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the whole layer to be displayed. is there a querywhere cause for that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2011 14:01:06 GMT</pubDate>
    <dc:creator>TimothyWilcoxon</dc:creator>
    <dc:date>2011-06-27T14:01:06Z</dc:date>
    <item>
      <title>Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594527#M55685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/graphics/graphics_extent_query.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/graphics/graphics_extent_query.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took this code above and inserted our data into it and it will not populate a graphic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is all I changed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; var queryTask = new esri.tasks.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://1XX.XX.XXX.XXX/ArcGIS/rest/services/Lone/Parcels/MapServer/0" rel="nofollow" target="_blank"&gt;http://1XX.XX.XXX.XXX/ArcGIS/rest/services/Lone/Parcels/MapServer/0&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var query = new esri.tasks.Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.outSpatialReference = {wkid:102100}; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.outFields = ["*"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.execute(query, addPointsToMap);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on why it won't produce a graphic or layer on the map?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 14:16:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594527#M55685</guid>
      <dc:creator>TimothyWilcoxon</dc:creator>
      <dc:date>2011-06-24T14:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594528#M55686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you set a breakpoint (using firebug or chrome's developer tools) in addPointsToMap you can check to see if results are returned. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing you might want to check is this sample is setup to draw points so it defines symbology for point features. Your query task looks like its a parcel layer which probably contains polygons. You'll want to change the symbols below to be SimpleFillSymbols to draw polygon features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255]));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; highlightSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([255,0,0]));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 14:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594528#M55686</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-06-24T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594529#M55687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you are right, that was a bad example but I did have the same problem with point features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used chrome developer tool and it come up with the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.3"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.3&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;serverapi.arcgisonline.com:14Error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Line 14 is where the whole function is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure what that means.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2011 20:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594529#M55687</guid>
      <dc:creator>TimothyWilcoxon</dc:creator>
      <dc:date>2011-06-26T20:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594530#M55688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code fragment doesn't show a WHERE clause in the query - could that be the problem? See the example you linked to, which contains&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;query.where = "STATE_NAME = 'Washington'";&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does your code have a similar statement? If so, can you post your entire code so we can see more info?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 01:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594530#M55688</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-06-27T01:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594531#M55689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the query.where cause necessary?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the whole layer to be displayed. is there a querywhere cause for that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 14:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594531#M55689</guid>
      <dc:creator>TimothyWilcoxon</dc:creator>
      <dc:date>2011-06-27T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594532#M55690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use query.where = '1=1';&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 15:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594532#M55690</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-27T15:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594533#M55691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On one of my layers the query.where = '1=1'; only populates 3/4 of my data? what would cause that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 18:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594533#M55691</guid>
      <dc:creator>TimothyWilcoxon</dc:creator>
      <dc:date>2011-06-27T18:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594534#M55692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map services will only return 500 records (9.3.1) or 1000 records (10.0) out of the box. Is it possible you're hitting this limit?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 19:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594534#M55692</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-27T19:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer not Showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594535#M55693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're displaying all features, it might make more sense to use a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_ondemand.html"&gt;featureLayer&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 22:01:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-not-showing-up/m-p/594535#M55693</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-06-27T22:01:22Z</dc:date>
    </item>
  </channel>
</rss>

