<div dir="ltr">Hello everyone,<div><br></div><div>I&#39;d like to know how to define &#39;Open Street Map&#39; as basemap in the function GeoExplorer.js</div><div><br></div><div><div style="font-size:12.8000001907349px"><div><font color="#0b5394">createLayout:function(){</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                        </span>this.map=new OpenLayers.Map({</font></div><div><span style="white-space:pre-wrap"><font color="#0b5394">                                ....</font></span></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                        </span>});</font></div><div><span style="white-space:pre-wrap"><font color="#0b5394">                        </font></span></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                </span>layers: [</font></div><div><span style="white-space:pre-wrap"><font color="#0b5394">                                </font></span></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                        </span>//=========base layer</font></div><div><span style="white-space:pre-wrap"><font color="#0b5394">                                        </font></span></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                        </span>new OpenLayers.Layer.WMS(</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>&quot;Global Imagery (vmap) [Online]&quot;,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>&quot;<a href="http://labs.metacarta.com/wms/vmap0" target="_blank">http://labs.metacarta.com/wms/vmap0</a>&quot;,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>{</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>layers: &quot;basic&quot;,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>transparent: &quot;true&quot;,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>format: &quot;image/png&quot;</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>},</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>{isBaseLayer: true, visibility: false}</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                        </span>),</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                        </span>new OpenLayers.Layer.WMS(&quot;Global Imagery (OpenGeo) [Online]&quot;,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>&quot;<a href="http://maps.opengeo.org/geowebcache/service/wms" target="_blank">http://maps.opengeo.org/geowebcache/service/wms</a>&quot;, {</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>layers: &quot;bluemarble&quot;</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>},{</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>//buffer: 0,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>isBaseLayer: true,</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                        </span>visibility: false</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                                </span>}</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                        </span>)</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                                </span>]</font></div><div><font color="#0b5394"><span style="white-space:pre-wrap">                        </span>});</font></div><div><font color="#0b5394"><br></font></div><div><font color="#0b5394"><br></font></div><div><span style="font-size:12.8000001907349px">Instead of &#39;Global Imagery&#39; base map, I&#39;d like to use &#39;OpenStreetMap&#39; or &#39;Google Maps&#39;.</span><font color="#0b5394"><br></font></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Any hint or help would be highly apreciated.</span></div><div><span style="font-size:12.8000001907349px">Thanks in advance</span></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px; max-height:0px;" src="https://mailfoogae.appspot.com/t?sender=aaW1hbmVraHRiQGdtYWlsLmNvbQ%3D%3D&amp;type=zerocontent&amp;guid=768ef2c0-3c9c-4441-bfa0-f731e6a89a27"><font color="#ffffff" size="1">ᐧ</font></div></div>