<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I tried to arrange (and test) the config file local_setting following the guide: </p>
<p class=""><a id="LPlnk299839" href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" target="_blank" class="">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a></p>
<p class=""><br class="">
</p>
<p></p>
<p>after to have got the apikey from MapQuest.</p>
<p><br>
</p>
<p>However, it doesn't work...</p>
<p><br>
</p>
<p>Am I wrong in the local_setting?</p>
<p>I modified as follow:</p>
<p></p>
<div>MAPQUEST_API_KEY="my_apikey"<br>
<br>
MAP_BASELAYERS = [{<br>
    "source": {"ptype": "gxp_olsource"},<br>
    "type": "OpenLayers.Layer",<br>
    "args": ["No background"],<br>
    "visibility": False,<br>
    "fixed": True,<br>
    "group":"background"<br>
}, {<br>
    "source": {"ptype": "gxp_osmsource"},<br>
    "type": "OpenLayers.Layer.OSM",<br>
    "name": "mapnik",<br>
    "visibility": False,<br>
    "fixed": True,<br>
    "group": "background"<br>
},# {<br>
   # "source": {<br>
   #      "ptype": "gxp_mapquestsource",<br>
   #      "apiKey":MAPQUEST_API_KEY<br>
   #      },<br>
   # "name": "osm",<br>
   # "group": "background",<br>
   # "visibility": True,<br>
   # "fixed":True<br>
#}, {<br>
   # "source": {<br>
   #      "ptype": "gxp_mapquestsource",<br>
   #      "apiKey":MAPQUEST_API_KEY<br>
   #      },<br>
   # "name": "naip",<br>
   # "group": "background",<br>
   # "visibility": False,<br>
   # "fixed":True<br>
#},<br>
{<br>
    "source": {"ptype": "gxp_mapboxsource"},<br>
}]</div>
<br>
<p></p>
<p><br>
</p>
<p>E.<br>
</p>
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Da:</b> Bart van den Eijnden <bartvde@boundlessgeo.com><br>
<b>Inviato:</b> marted́ 12 luglio 2016 11.55<br>
<b>A:</b> Simone Dalmasso<br>
<b>Cc:</b> Eugenio Trumpy; Dimitris Karakostis; geonode-devel<br>
<b>Oggetto:</b> Re: [GeoNode-devel] MapQuest has discontinued direct tile access</font>
<div> </div>
</div>
<div>It seems like that, unless MapQuest changes something but it doesn’t seem they have any intention to do so given our communication with them so far.
<div class=""><br class="">
</div>
<div class="">Bart</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 12 Jul 2016, at 11:50, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="">simone.dalmasso@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Thanks Bart,
<div class="">interesting, so our gxp based viewers are unable to show mapquest tiles anymore....</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">2016-07-12 11:47 GMT+02:00 Bart van den Eijnden <span dir="ltr" class="">
<<a href="mailto:bartvde@boundlessgeo.com" target="_blank" class="">bartvde@boundlessgeo.com</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div class="" style="word-wrap:break-word">Please note there doesn’t seem to be a legal way currently to do so, only for Leaflet:
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134" target="_blank" class="">https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134</a></div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Bart
<div class="">
<div class="h5">
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 12 Jul 2016, at 11:45, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank" class="">simone.dalmasso@gmail.com</a>> wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Well everyone is still free to make their own mapquest purchase plans and add it to geonode, like bing we would only comment out the code.</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">2016-07-12 11:41 GMT+02:00 Eugenio Trumpy <span dir="ltr" class="">
<<a href="mailto:frippe12573@hotmail.com" target="_blank" class="">frippe12573@hotmail.com</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr" class="">
<div class="" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p class="">Hi, what about to use this workaround (at least temporary):</p>
<p class=""><br class="">
</p>
<p class=""><a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" target="_blank" class="">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a></p>
<p class=""><br class="">
</p>
<p class="">to set apiKey after a registration to mapquest? They allow 15000 transaction for free...</p>
<p class="">actually I don't know if those are enough...</p>
<p class=""><br class="">
</p>
<p class="">E.<br class="">
</p>
<br class="">
<br class="">
<div class="">
<hr class="" style="display:inline-block; width:98%">
<div dir="ltr" class=""><font class="" style="font-size:11pt" face="Calibri, sans-serif"><b class="">Da:</b> geonode-devel <<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank" class="">geonode-devel-bounces@lists.osgeo.org</a>> per conto
 di Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank" class="">simone.dalmasso@gmail.com</a>><br class="">
<b class="">Inviato:</b> marted́ 12 luglio 2016 11.00<br class="">
<b class="">A:</b> Dimitris Karakostis<br class="">
<b class="">Cc:</b> geonode-devel<br class="">
<b class="">Oggetto:</b> Re: [GeoNode-devel] MapQuest has discontinued direct tile access</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class="">
<div dir="ltr" class="">Hi, yes I think we have to remove those layers from base maps.</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">2016-07-12 10:49 GMT+02:00 Dimitris Karakostis <span dir="ltr" class="">
<<a href="mailto:karakostis.dimitris@gmail.com" target="_blank" class="">karakostis.dimitris@gmail.com</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr" class=""><br class="">
<div class=""><br class="">
</div>
<div class="">As of July 11 MapQuest has discontinued direct tile access.</div>
<div class="">More on the matter here: </div>
<div class=""><a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" target="_blank" class="">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Example of broken baselayer in Geonode Demo page:</div>
<div class=""><a href="http://demo.geonode.org/layers/geonode%3Aentidad" target="_blank" class="">http://demo.geonode.org/layers/geonode%3Aentidad</a><span class=""><font class="" color="#888888"><br class="">
</font></span></div>
<span class=""><font class="" color="#888888">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Dimitris</div>
</font></span></div>
<br class="">
_______________________________________________<br class="">
geonode-devel mailing list<br class="">
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank" class="">geonode-devel@lists.osgeo.org</a><br class="">
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
<br class="" clear="all">
<div class=""><br class="">
</div>
-- <br class="">
<div class="">Simone </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<br class="" clear="all">
<div class=""><br class="">
</div>
-- <br class="">
<div class="">Simone </div>
</div>
_______________________________________________<br class="">
geonode-devel mailing list<br class="">
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank" class="">geonode-devel@lists.osgeo.org</a><br class="">
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank" class="">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<br class="" clear="all">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature">Simone </div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>