<div dir="ltr">Hi,<div><br></div><div>To add Google base maps, you have to get a Google Static Maps API from:</div><div><br></div><div><a href="https://developers.google.com/maps/documentation/static-maps/">https://developers.google.com/maps/documentation/static-maps/</a></div><div><br></div><div>Then, edit the <b>local_settings.py</b> file, located at /etc/geonode,  and:</div><div><br></div><div><ol><li>Insert you api key:<br>GOOGLE_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'<br></li><li>Inside MAP_BASELAYERS code lines, insert and save the following:</li></ol></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>{</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>    "source": {"ptype": "gxp_googlesource",</div><div>    "apiKey": GOOGLE_API_KEY},</div><div>    "group":"background",</div><div>    "name":"SATELLITE",</div><div>    "visibility": False,</div><div>    "fixed": True},</div></blockquote><div><br></div>Finally, restart apache server:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div># sudo service apache2 restart</div></div></blockquote><div><div><br></div><div><br></div><div>You will see the option Google Satellite along with the other base map options in the Layer Switcher button.</div><div>When creating a Map, in the Add layers button, select Google Layers option, and you'll be able to add Google Roadmap, Google Hybrid an Google Terrain base maps.</div><div><br></div><div>Hope it works for you, it does for me.</div><div><br></div><div>Regards,<br></div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 7:14 AM, Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">It's possible to insert apiKey in local_setting? Or there are other methods?<div><br><div>And how can I add google base maps, possibly with their keys?</div><div><br></div><div>Thanks</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2015-10-07 15:50 GMT+02:00 Bart van den Eijnden <span dir="ltr"><<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>></span>:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Ideally you would have requested your own API key for your site on <a href="https://www.bingmapsportal.com" target="_blank">https://www.bingmapsportal.com</a><br><div>

<div><br></div><div>And then configure the gxp Bing source with the apiKey property / config.</div><div><br></div><div>Best regards,</div><div>Bart<br clear="all"><div><div dir="ltr"><div><br></div><span style="font-family:arial;font-size:small">Bart van den Eijnden</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">Front End Software Engineer | <a href="http://boundlessgeo.com/" target="_blank">Boundless</a></span><br style="font-family:arial;font-size:small">

<a href="mailto:bartvde@boundlessgeo.com" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">bartvde@boundlessgeo.com</a><br style="font-family:arial;font-size:small"><a href="tel:917-460-7207" value="+19174607207" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">1-877-673-6436</a><br style="font-family:arial;font-size:small">

<a href="http://twitter.com/boundlessgeo/" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">@boundlessgeo</a><div><br><div class="gmail_extra" style="font-family:arial;font-size:small"><a href="http://boundlessgeo.com" target="_blank"><img src="http://boundlessgeo.com/wp-content/uploads/files/boundless_sig.png"></a><br>

</div></div></div></div>
</div></div>


<br><div><blockquote type="cite"><div><div><div>On 07 Oct 2015, at 15:41, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr">Dears,<div><br></div><div>from yesterday the bing maps api that are used by default in every GeoNode map are not working anymore due to a request denied. The effect is that every map in GeoNode cannot be zoomed properly anymore.</div><div><br></div><div>While we try to figure out what is the cause of this we suggest a quick fix,</div><div>open your GeoNode settings  (/etc/geonode/local_settings.py for a standard apt-get installation) and comment the following lines like we already did on master</div><div><a href="https://github.com/GeoNode/geonode/commit/f2707e64e78931b31a06016a3e04f1ba76021b66" target="_blank">https://github.com/GeoNode/geonode/commit/f2707e64e78931b31a06016a3e04f1ba76021b66</a> then restart the web server.</div><div><br></div><div>We appreciate any comment and feedback.</div><div><div><div><br></div>-- <br><div>Simone </div>
</div></div></div></div></div>
_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br></div></blockquote></div><br></div><br>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div></div></div><br></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/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>R. Marcelo Villarroel V.</b></div><div>Ing. Civil, MSc.</div><div><b>Sistemas de Información Geográfica</b></div><div><br></div><div>Cochabamba, Bolivia.<br></div><div><br></div><div>Cel.:     (+591) - 722 12346<br></div><div>Mail:     <a href="mailto:raul.marcelo.villarroel.villazon@gmail.com" target="_blank">raul.marcelo.villarroel.villazon@gmail.com</a></div></div></div>
</div></div></div></div>