AnsweredAssumed Answered

zoomTo button in infoTemplate map is blank

Question asked by schlot on Jun 26, 2014
Latest reply on Jun 26, 2014 by schlot
I am using an infoTemplate to show attributes and have it defined in the map definition with an infoWindow as a popup so that each has the small ZoomTo link at the bottom.  I'm not sure what is going on behind the scenes with the ZoomTo, but that has always worked just fine for me, with either points, lines or polygons.
 var popup = new Popup({         fillSymbol: highlightFillSymbol       }, domConstruct.create("div"));       map = new Map("mapDiv", {         infoWindow: popup,         basemap: "streets",         center: [-92.593, 38.5],         zoom: 7       });        infoTemplate = new InfoTemplate();       infoTemplate.setTitle("<b>${NAME}</b>");       

This particular project uses ZIP boundaries, which are more complex than some polygons and for whatever reason, which I click the Zoom To, instead of zooming to the polygon, the map is just blank.  My layer is set wkid 102100, the same as my basemap.  I don't know if it is zooming in past some scale threshold for this particular layer.  I'm not sure why it would be doing that.  It doesn't show either my layers or the ESRI basemap. 

I have used this exact same settings for county boundaries and it works just fine.  There's nothing in my code that is doing the ZoomTo, just the built in functionality with having a popup as part of your infoWindow definition. 

I don't have any minimum zoom thresholds set on my service.