AnsweredAssumed Answered

Dynamic Map Service and Feature Layer

Question asked by CGSJohnson on Sep 30, 2015
Latest reply on Sep 30, 2015 by CGSJohnson

Good morning.


I have a JavaScript application that uses both a dynamic map service layer and a feature layer.  if I render the map, with just the feature layer, everything displays fine.  However, if I add the dynamic map service layer to the map, as well, the map is pushed down on the page.  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.  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.  Any thoughts on any of this?