<?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 Dynamic Map Service and Feature Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85874#M7765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a JavaScript application that uses both a dynamic map service layer and a feature layer.&amp;nbsp; if I render the map, with just the feature layer, everything displays fine.&amp;nbsp; However, if I add the dynamic map service layer to the map, as well, the map is pushed down on the page.&amp;nbsp; If I use CSS to modify the position of the map (using negative margins), the map is almost functional, but clicking on the map generates incorrect data -- if I click on Ohio, I will get the data for a State that is more South than Ohio.&amp;nbsp; I assume that this is due to the re-positioning using CSS, as this behavior is absent when I just have the feature layer on the map.&amp;nbsp; Any thoughts on any of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 11:37:28 GMT</pubDate>
    <dc:creator>ChristopherJohnson1</dc:creator>
    <dc:date>2015-09-30T11:37:28Z</dc:date>
    <item>
      <title>Dynamic Map Service and Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85874#M7765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a JavaScript application that uses both a dynamic map service layer and a feature layer.&amp;nbsp; if I render the map, with just the feature layer, everything displays fine.&amp;nbsp; However, if I add the dynamic map service layer to the map, as well, the map is pushed down on the page.&amp;nbsp; If I use CSS to modify the position of the map (using negative margins), the map is almost functional, but clicking on the map generates incorrect data -- if I click on Ohio, I will get the data for a State that is more South than Ohio.&amp;nbsp; I assume that this is due to the re-positioning using CSS, as this behavior is absent when I just have the feature layer on the map.&amp;nbsp; Any thoughts on any of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 11:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85874#M7765</guid>
      <dc:creator>ChristopherJohnson1</dc:creator>
      <dc:date>2015-09-30T11:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Map Service and Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85875#M7766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like this could possibly be a projection issue.&amp;nbsp; Would you be able to &lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;post &lt;/A&gt;your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 11:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85875#M7766</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-09-30T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Map Service and Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85876#M7767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jake.&amp;nbsp; Both the DynamicMapServiceLayer and the FeatureLayer have the same projection, but they had different extents.&amp;nbsp; I specified the extent and now the map appears correctly, without the gap at the top.&amp;nbsp; Thanks for the hint!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 12:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-map-service-and-feature-layer/m-p/85876#M7767</guid>
      <dc:creator>ChristopherJohnson1</dc:creator>
      <dc:date>2015-09-30T12:10:23Z</dc:date>
    </item>
  </channel>
</rss>

