Thank you for your reply Dan. I am going to assume that I do, since nothing else has appeared to be broken/missing on my map..<br><br>elshae<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 2:26 PM, <span dir="ltr"><<a href="mailto:dan@inlet.geol.sc.edu">dan@inlet.geol.sc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Make sure you have the resources copied over and the CSS file pointing to<br>
the correct spot. The chevron that attaches to the popup is accessed<br>
through the css file.<br>
<div><div></div><div class="h5">> Hello GeoExt List,<br>
><br>
> I am using a GeoExt.Popup to display my feature info. All is going well,<br>
> except I'd like my popup to point to the feature clicked on the WMS layer<br>
> as<br>
> shown in the examples. In my case the popup comes up as a square box with<br>
> no point on the bottom to indicate exactly which point was clicked. I've<br>
> looked at several examples and have checked my configuration time and<br>
> again<br>
> and do not see what I am missing...<br>
><br>
> var info = new OpenLayers.Control.WMSGetFeatureInfo({<br>
> url: '<a href="http://localhost:8080/geoserver/wms" target="_blank">http://localhost:8080/geoserver/wms</a>',<br>
> layerUrls: ["<br>
> <a href="http://localhost:8080/geoserver/gwc/service/wms" target="_blank">http://localhost:8080/geoserver/gwc/service/wms</a>"],<br>
> title: 'Identify features by clicking',<br>
> layers: [tibet_placenames, chn_bridges,<br>
> tib_bridges,<br>
> chn_countys, tib_countys, chn_farms, tib_farms, chn_glaciers,<br>
> tib_glaciers,<br>
> chn_grazing, tib_grazing, chn_hwyCrew, tib_hwyCrew, chn_hospitals,<br>
> tib_hospitals, chn_lakes, tib_lakes, chn_monastaries, tib_monastaries,<br>
> chn_pass, tib_pass, chn_rivers, tib_rivers, chn_townships, tib_townships,<br>
> chn_villages, tib_villages],<br>
> queryVisible: true,<br>
> eventListeners: {<br>
> getfeatureinfo: function(event){<br>
><br>
> popup = new GeoExt.Popup({<br>
> title: "Popup",<br>
> //location:<br>
> map.getLonLatFromPixel(event.xy),<br>
> location: new<br>
> OpenLayers.LonLat(mapPanel.map.getLonLatFromPixel(event.xy)).transform(new<br>
> OpenLayers.Projection("EPSG:4326"), new<br>
> OpenLayers.Projection("EPSG:900913")),<br>
> lonlat:<br>
> mapPanel.map.getLonLatFromPixel(event.xy),<br>
> maximizable: true,<br>
> collapsible: true,<br>
> map: mapPanel.map,<br>
> anchored: true,<br>
> html: '<div id="popupWrap"><div<br>
> id="popupTop"><h4>Place Info</h4></div><div id ="popupText"<br>
> class="popupText">'+ event.text + redesignHTML(event.text) + '</div><div<br>
> class="popupPhoto"><img<br>
> src="<a href="http://localhost/mapScripts/Photos/lhasa.jpeg" target="_blank">http://localhost/mapScripts/Photos/lhasa.jpeg</a>"<br>
> /></div><div id="popupFooter"><br /><br /><a<br>
> href="<a href="http://www.trace.org" target="_blank">http://www.trace.org</a>">Trace<br>
> Website</a></div></div>',<br>
> listeners: {<br>
> close: function() {<br>
> // closing a popup destroys<br>
> it,<br>
> but our reference is truthy<br>
> popup = null;<br>
> }<br>
> }<br>
> });<br>
><br>
> // since the popup is anchored, calling<br>
> show<br>
> will move popup to this location<br>
> popup.show();<br>
><br>
> }//end getfeatureinfo<br>
> }//end eventListeners<br>
> });//end OpenLayers.Control.WMSGetFeatureInfo<br>
><br>
> //Add control to map<br>
> mapPanel.map.addControl(info);<br>
> info.activate();<br>
><br>
> If anyone understands what I could be missing please pass on the<br>
> knowledge,<br>
> I'd really appreciate it :)<br>
><br>
> elshae<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
> <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
</blockquote></div><br>