<div dir="ltr"><div>But I do not understand, because google chrome works fine but fails with firefox.</div><div><br></div><div>In my composer.html I have:</div><div><br></div><div></div><div><table><tbody><tr><td class="" value="104"></td><td class=""> if (GeoExt.Lang) {</td></tr><tr><td class="" value="105"></td><td class=""> GeoExt.Lang.set(OpenLayers.Util.getParameters()["locale"] || GeoExt.Lang.locale);</td></tr><tr><td class="" value="106"></td><td class=""> }</td></tr><tr><td class="" value="107"></td><td class=""> var app = new GeoExplorer.Composer({</td></tr><tr><td class="" value="108"> </td><td class=""> authStatus: 401,</td></tr><tr><td class="" value="109"></td><td class=""> proxy: "../proxy/?url=",</td></tr><tr><td class="" value="110"></td><td class=""> printService: "/geoserver/pdf/",</td></tr><tr><td class="" value="111"></td><td class=""> /*about: {</td></tr><tr><td class="" value="112"></td><td class=""> title: "aaaa",</td></tr><tr><td class="" value="113"></td><td class=""> "abstract": "",</td></tr><tr><td class="" value="117"></td><td class=""> defaultSourceType: "gxp_wmscsource",</td></tr><tr><td class="" value="118"></td><td class=""> sources: {</td></tr></tbody></table></div><div> ....</div><div><table><tbody><tr><td class=""> mapquest: {</td></tr><tr><td class="" value="206"></td><td class=""> ptype: "gxp_mapquestsource"</td></tr><tr><td class="" value="207"></td><td class=""> },</td></tr><tr><td class="" value="208"></td><td class=""> osm: {</td></tr><tr><td class="" value="209"></td><td class=""> ptype: "gxp_osmsource"</td></tr><tr><td class="" value="210"></td><td class=""> },</td></tr><tr><td class="" value="211"></td><td class=""> google: {</td></tr><tr><td class="" value="212"></td><td class=""> ptype: "gxp_googlesource"</td></tr><tr><td class="" value="213"></td><td class=""> },</td></tr><tr><td class="" value="214"></td><td class=""> bing: {</td></tr><tr><td class="" value="215"></td><td class=""> ptype: "gxp_bingsource"</td></tr><tr><td class="" value="216"></td><td class=""> },</td></tr><tr><td class="" value="217"></td><td class=""> mapbox: {</td></tr><tr><td class="" value="218"></td><td class=""> ptype: "gxp_mapboxsource"</td></tr><tr><td class="" value="219"></td><td class=""> },</td></tr></tbody></table></div><div><br></div><div><table><tbody><tr><td class=""><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"> map: {</blockquote></blockquote></td></tr><tr><td class="" value="230"></td><td class=""> id: "mymap", // id needed to reference map in portalConfig above</td></tr><tr><td class="" value="231"></td><td class=""> tbar: {id: 'geocoder'},</td></tr><tr><td class="" value="232"></td><td class=""> title: "Map",</td></tr><tr><td class="" value="233"></td><td class=""> projection: "EPSG:102113",</td></tr><tr><td class="" value="234"></td><td class=""> layers: [</td></tr><tr><td class="" value="235"></td><td class=""> {</td></tr><tr><td class="" value="236"></td><td class=""> source: "mapquest",</td></tr><tr><td class="" value="237"></td><td class=""> title: "MapQuest OpenStreetMap",</td></tr><tr><td class="" value="238"></td><td class=""> name: "osm",</td></tr><tr><td class="" value="239"></td><td class=""> group: "background",</td></tr><tr><td class="" value="240"></td><td class=""> "visibility": false</td></tr><tr><td class="" value="241"></td><td class=""> },</td></tr><tr><td class="" value="242"></td><td class=""> {"opacity": 1, </td></tr><tr><td class="" value="243"></td><td class=""> "group": "background", </td></tr><tr><td class="" value="244"></td><td class=""> "name": "HYBRID", </td></tr><tr><td class="" value="245"></td><td class=""> "title": "Google Hibrido", </td></tr><tr><td class="" value="246"></td><td class=""> "visibility": true, </td></tr><tr><td class="" value="247"></td><td class=""> "source": "google", </td></tr><tr><td class="" value="248"></td><td class=""> "fixed": true</td></tr><tr><td class="" value="249"></td><td class=""> },</td></tr><tr><td class="" value="250"></td><td class=""> {"opacity": 1, </td></tr><tr><td class="" value="251"></td><td class=""> "group": "background", </td></tr><tr><td class="" value="252"></td><td class=""> "name": "TERRAIN", </td></tr><tr><td class="" value="253"></td><td class=""> "title": "Google Terrain", </td></tr><tr><td class="" value="254"></td><td class=""> "visibility": false, </td></tr><tr><td class="" value="255"></td><td class=""> "source": "google", </td></tr><tr><td class="" value="256"></td><td class=""> "fixed": true</td></tr><tr><td class="" value="257"></td><td class=""> },</td></tr><tr><td class="" value="258"></td><td class=""> </td></tr><tr><td class="" value="259"></td><td class=""> {"opacity": 1, </td></tr><tr><td class="" value="260"></td><td class=""> "group": "background",</td></tr><tr><td class="" value="261"></td><td class=""> "name": "AerialWithLabels", </td></tr><tr><td class="" value="262"></td><td class=""> "title": "Bing Satelital", </td></tr><tr><td class="" value="263"></td><td class=""> "visibility": false, </td></tr><tr><td class="" value="264"></td><td class=""> "source": "bing", </td></tr><tr><td class="" value="265"></td><td class=""> "fixed": true</td></tr><tr><td class="" value="266"></td><td class=""> },</td></tr><tr><td class="" value="267"></td><td class=""> {</td></tr><tr><td class="" value="268"></td><td class=""> source: "ol",</td></tr><tr><td class="" value="269"></td><td class=""> group: "background",</td></tr><tr><td class="" value="270"></td><td class=""> fixed: true,</td></tr><tr><td class="" value="271"></td><td class=""> type: "OpenLayers.Layer",</td></tr><tr><td class="" value="272"></td><td class=""> args: [</td></tr><tr><td class="" value="273"></td><td class=""> "None", {visibility: false}</td></tr><tr><td class="" value="274"></td><td class=""> ]</td></tr><tr><td class="" value="275"></td><td class=""> },</td></tr><tr><td class="" value="276"><br></td><td class=""><br></td></tr><tr><td class="" value="288"></td><td class=""> {</td></tr><tr><td class="" value="289"></td><td class=""> // A vector layer to display our geometries and processing results</td></tr><tr><td class="" value="290"></td><td class=""> source: "ol",</td></tr><tr><td class="" value="291"></td><td class=""> name: "Res",</td></tr><tr><td class="" value="292"></td><td class=""> type: "OpenLayers.Layer.Vector",</td></tr><tr><td class="" value="293"></td><td class=""> args: [null, {displayInLayerSwitcher: false}]</td></tr><tr><td class="" value="294"></td><td class=""><br></td></tr><tr><td class="" value="295"></td><td class=""> }</td></tr><tr><td class="" value="296"></td><td class=""> ],</td></tr><tr><td class="" value="297"></td><td class=""> //center: [-7166735.77102,-3918467.81747],</td></tr><tr><td class="" value="298"></td><td class=""> center: [-7026944.92,-3940299.94],</td></tr><tr><td class="" value="299"></td><td class=""> zoom: 4</td></tr><tr><td class="" value="300"></td><td class=""> }</td></tr><tr><td class="" value="301"></td><td class=""> });</td></tr></tbody></table></div><div><br></div><div><br></div><div>Thanks in advanced</div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-10 11:28 GMT-03:00 Andreas Hocevar <span dir="ltr"><<a href="mailto:andreas.hocevar@gmail.com" target="_blank">andreas.hocevar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<span><div>Adding a Google layer on the fly works fine here: <u><a href="http://suite.opengeo.org/geoexplorer/composer/" target="_blank">http://suite.opengeo.org/geoexplorer/composer/</a></u>
</div>
<br><div style="display:block"><div>
<div>Note that Google often make changes to the Google Maps API, so it is better to not rely on Google layers.</div>
<div><br></div>
<div>Andreas.<br><br>
</div>
</div></div>
<br><span style="display:inline">On Tuesday, Mar 10, 2015 at 2:20 PM, pablo zader <<a href="mailto:pzader@gmail.com" target="_blank">pzader@gmail.com</a>>, wrote:<br></span></span><span><blockquote class="gmail_quote"><div><div dir="ltr">
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">pablo zader</b> <span dir="ltr"><<a href="mailto:pzader@gmail.com" target="_blank">pzader@gmail.com</a>></span><br>Date: 2015-02-22 0:39 GMT-03:00<br>Subject: Firefox does not work with GeoExplorer (openlayers)<br>To: openlayers-users <<a href="mailto:openlayers-users@lists.osgeo.org" target="_blank">openlayers-users@lists.osgeo.org</a>><br><br><br><div dir="ltr">
<div class="gmail_quote">Hi list,</div>
<div class="gmail_quote">
<br><div dir="ltr">
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgba(248,248,248,0.6)">The problem is detected by firebug when GeoExplorer start with Mozilla, but the strange thing is that with google chrome works fine (and IE):<br></p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgba(248,248,248,0.6)">NotFoundError: Node was not found document.getElementsByTagName("head")[0].removeChild...</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgba(248,248,248,0.6)">The exception is thrown in the googlesource.js file, line 334 , in the function loadScript:</p>
<pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);word-wrap:normal;color:rgb(51,51,51);line-height:18px"><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);white-space:inherit"> loadScript: function(options) { .... window.setTimeout((function() { if (!gxp.plugins.GoogleSource.loader.ready) { this.loading = false; this.ready = false; document.getElementsByTagName("head")[0].removeChild(script); (LINE 334) errback.call(options.scope); this.fireEvent("failure"); this.purgeListeners(); } .... </code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgba(248,248,248,0.6)"><br></p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgba(248,248,248,0.6)">I understand that there is a problem when firefox wants to access the service google but not so google chrome. <br></p>
<div>Thanks in advanced</div>
<span><font color="#888888"><span><font color="#888888"><div><br></div>
<div>Pablo</div> </font></span></font></span>
</div> </div>
<br clear="all"><div><br></div> </div> </div>
<br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">
<div><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div>
<div><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div>
<div>
<i style="color:rgb(51,102,255);font-size:12.8000001907349px"><b><a href="mailto:pablo.zader@gmail.com" target="_blank">pablo.zader@gmail.com</a></b></i><br>
</div>
<div><b><i><font size="1"><br></font></i></b></div>
<div>
<b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br> Los Hombres Promedio hablan sobre cosas...<br> Los Hombres Pequeños hablan.. de otros Hombres.<br><br></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div>
</div>
</div></div></div></div> </font></span></div></div></blockquote></span>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div><div><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div><div><i style="color:rgb(51,102,255);font-size:12.8000001907349px"><b><a href="mailto:pablo.zader@gmail.com" target="_blank">pablo.zader@gmail.com</a></b></i><br></div><div><b><i><font size="1"><br></font></i></b></div><div><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br> Los Hombres Promedio hablan sobre cosas...<br> Los Hombres Pequeños hablan.. de otros Hombres.<br><br></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div></div></div></div>
</div></div>