AnsweredAssumed Answered

no "close" button on popup

Question asked by empicard on Mar 9, 2012
Latest reply on Mar 12, 2012 by empicard
There is no "X" to close a popup.  There IS one, but I cant see it.  There's also a maximize button hiding in there, which is surprises me sometimes.
Where have I gone wrong?

        var popup = new esri.dijit.Popup({           fillSymbol: new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 2), new dojo.Color([255,255,0,0.25]))         }, dojo.create("div"));                   startExtent = new esri.geometry.Extent({"xmin":-17497000,"ymin":2165000,"xmax":-4132000,"ymax":6969000,"spatialReference":{"wkid":102100}});          map = new esri.Map("map", {            logo: false,           extent: startExtent,           infoWindow:popup         });             var salesRepcontent = "fields";            var salesRepTemplate = new esri.InfoTemplate("Sales Rep Data", salesRepcontent);            map.infoWindow.resize(215,175);                     var salesRepsLayer = new esri.layers.FeatureLayer("http://server/ArcGIS/rest/services/IndivTerritoriesOnly/SalesReps_simple/FeatureServer/0", {             opacity:.65,             mode: esri.layers.FeatureLayer.MODE_ONDEMAND,             outFields:["fields"],             infoTemplate:salesRepTemplate             });  





[ATTACH=CONFIG]12571[/ATTACH]

Attachments

Outcomes