var template = new window.esri.InfoTemplate(); template.setTitle(self.getPopUpTitleContent); // self = this (yes, it's defined) template.setContent(self.getPopUpTextContent); self.featureLayer = new window.esri.layers.FeatureLayer(featureCollection, { mode: window.esri.layers.FeatureLayer.SELECTION_NEW, id: 'anAwesomeLayer', infoTemplate: template }); self.map.addLayers([self.featureLayer]); self.map.infoWindow.resize(275,275);
Solved! Go to Solution.
Have you got some CSS defined somewhere that might be hiding it? Or are you missing some CSS?
Use some development tools e.g. firebug (in FF) or the built-in tools in other browsers to examine the element. If your site is publicly available then perhaps post a link?
Have you got some CSS defined somewhere that might be hiding it? Or are you missing some CSS?
Use some development tools e.g. firebug (in FF) or the built-in tools in other browsers to examine the element. If your site is publicly available then perhaps post a link?
Seconded
AHAAAA! I GOT IT!
It WAS a CSS thing. Twitter bootstrap was overriding a style!!!
Thank you for all the help!!!