<div dir="ltr">Hi Davi, <div>not sure what happens there but with Google it might happen, the google maps are not "really" supported by openlayers because google doesn't allow direct use of their tiles, only through their apis. Openlayers tries to proxy them but the result may be odd.</div><div><br></div><div>With bing you can do direct integration though.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-24 13:38 GMT+01:00 Davi Custodio <span dir="ltr"><<a href="mailto:davicustodio@gmail.com" target="_blank">davicustodio@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span lang="en"><span>Hello guys.</span> <span>I'm trying to</span> <span>put</span> <span>google</span> <span>layers</span> <span>as</span> <span>basemaps</span> <span>in</span> <span>GeoNode</span> <span>2.4.</span> <span>Added</span> <span>to</span> <span>local_settings.py</span><span>:</span><br><br> <span>,</span> <span>{</span><br> <span>"source</span><span>": {"</span><span>ptype</span><span>"</span><span>:</span> <span>"</span><span>gxp_googlesource</span><span>"</span><span>,</span> <span>"</span><span>apiKey</span><span>"</span><span>:</span> <span>GOOGLE_API_KEY</span><span>}</span><br> <span>"group"</span><span>, "</span><span>background</span><span>"</span><br> <span>"name</span><span>"</span><span>:</span> <span>"</span><span>SATELLITE</span><span>"</span><br> <span>"visibility</span><span>"</span><span>: True</span><span>,</span><br> <span>"fixed</span><span>"</span><span>: True</span><br> <span>}</span><br><br> <span>Before</span> <span>I signed up</span> <span>one</span> <span>Google</span> <span>API</span> <span>Key</span> <span>my</span> <span>url</span><span>.</span><br><br> <span>Note that</span> <span>I am</span> <span>trying to</span> <span>let Google</span> <span>Satellite as</span> <span>the</span> <span>default</span> <span>basemap</span><span>.</span><br><br> <span>The problem</span> <span>happens when</span> <span>the detail of the</span> <span>access</span> <span>layer</span><span>,</span> <span>or</span> <span>in Geoexplorer</span> <span>the</span> <span>GeoNode</span><span>.</span> <span>How Google</span> <span>Satellite</span> <span>is</span> <span>as</span> <span>default</span><span>, the</span> <span>base</span> <span>map</span> appear <span>blank.</span> <span>If I</span> <span>enable</span> <span>another layer</span> <span>"</span><span>not</span> <span>google</span><span>" as the</span> <span>OSM</span><span>,</span> <span>and</span> <span>to</span> <span>zoom</span> <span>in,</span> <span>and then</span> <span>return to the</span> <span>Google</span> <span>layer</span><span>,</span> <span>the map</span> <span>appears.</span><br> <span>I realized that</span> <span>Google</span> <span>layers</span> <span>show up</span> <span>only</span> <span>when I go into</span> <span>another</span> <span>layer and</span> <span>do</span> <span>not</span> <span>google</span> <span>zoom</span> <span>in.</span><br><br> <span>Can anyone help</span><span>?<br><br></span></span></div><span lang="en"><span>Thanks.<span class="HOEnZb"><font color="#888888"><br></font></span></span></span><span class="HOEnZb"><font color="#888888"><div><br>-- <br><div>Davi de O. Custódio</div>
</div></font></span></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>