<div dir="ltr">Here the two commands that you can type in a "geonode shell" (for a standard geonode installation) to remove bing from existing maps.<div><br></div><div>>>> from geonode.maps.models import MapLayer</div><div>>>> MapLayer.objects.filter(name=u'AerialWithLabels').delete()</div><div><br></div><div>Hope this helps</div>







</div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-07 16:06 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@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">Paolo that's right :(</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-10-07 15:57 GMT+02:00 Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@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">Thanks to both<div>for system in productions containing existing maps I think the only way is to follow Bart's suggestion or running a script able to remove the Bing map baselayer from any existing map.</div><div>cheers</div><div>p</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 3:51 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Bart,<div><br></div><div>then is good to keep it disabled by default and add instructions on how to properly add it.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 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></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></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><br><br clear="all"><div><br></div>-- <br></div></div><span><font color="#888888"><div>Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>