<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This will not work. GXP would need to be modified as well, but there is no way to do so since MapQuest only supports using a (closed) Leaflet plugin. There doesn’t seem to be an open API.<div class=""><br class=""></div><div class="">Best regards,</div><div class="">Bart</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 12 Jul 2016, at 16:46, Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" class="">frippe12573@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I tried to arrange (and test) the config file local_setting following the guide: </div><div style="margin-top: 0px; margin-bottom: 0px;" 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></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class="">after to have got the apikey from MapQuest.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">However, it doesn't work...</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Am I wrong in the local_setting?</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I modified as follow:</div><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class="">MAPQUEST_API_KEY="my_apikey"<br class=""><br class="">MAP_BASELAYERS = [{<br class="">    "source": {"ptype": "gxp_olsource"},<br class="">    "type": "OpenLayers.Layer",<br class="">    "args": ["No background"],<br class="">    "visibility": False,<br class="">    "fixed": True,<br class="">    "group":"background"<br class="">}, {<br class="">    "source": {"ptype": "gxp_osmsource"},<br class="">    "type": "OpenLayers.Layer.OSM",<br class="">    "name": "mapnik",<br class="">    "visibility": False,<br class="">    "fixed": True,<br class="">    "group": "background"<br class="">},# {<br class="">   # "source": {<br class="">   #      "ptype": "gxp_mapquestsource",<br class="">   #      "apiKey":MAPQUEST_API_KEY<br class="">   #      },<br class="">   # "name": "osm",<br class="">   # "group": "background",<br class="">   # "visibility": True,<br class="">   # "fixed":True<br class="">#}, {<br class="">   # "source": {<br class="">   #      "ptype": "gxp_mapquestsource",<br class="">   #      "apiKey":MAPQUEST_API_KEY<br class="">   #      },<br class="">   # "name": "naip",<br class="">   # "group": "background",<br class="">   # "visibility": False,<br class="">   # "fixed":True<br class="">#},<br class="">{<br class="">    "source": {"ptype": "gxp_mapboxsource"},<br class="">}]</div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">E.<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><br class=""><br class=""><div style="" class=""><hr tabindex="-1" style="display: inline-block; width: 1065.25px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">Da:</b><span class="Apple-converted-space"> </span>Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" class="">bartvde@boundlessgeo.com</a>><br class=""><b class="">Inviato:</b><span class="Apple-converted-space"> </span>martedì 12 luglio 2016 11.55<br class=""><b class="">A:</b><span class="Apple-converted-space"> </span>Simone Dalmasso<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>Eugenio Trumpy; Dimitris Karakostis; geonode-devel<br class=""><b class="">Oggetto:</b><span class="Apple-converted-space"> </span>Re: [GeoNode-devel] MapQuest has discontinued direct tile access</font><div class=""> </div></div><div class="">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 class=""><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 class="Apple-converted-space"> </span><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: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: 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 class="Apple-converted-space"> </span><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: 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" class=""><div class="" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi, what about to use this workaround (at least temporary):</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" 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></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">to set apiKey after a registration to mapquest? They allow 15000 transaction for free...</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">actually I don't know if those are enough...</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">E.<br class=""></div><br class=""><br class=""><div class=""><hr class="" style="display: inline-block; width: 1017.359375px;"><div dir="ltr" class=""><font class="" face="Calibri, sans-serif" style="font-size: 11pt;"><b class="">Da:</b><span class="Apple-converted-space"> </span>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><span class="Apple-converted-space"> </span>martedì 12 luglio 2016 11.00<br class=""><b class="">A:</b><span class="Apple-converted-space"> </span>Dimitris Karakostis<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>geonode-devel<br class=""><b class="">Oggetto:</b><span class="Apple-converted-space"> </span>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 class="Apple-converted-space"> </span><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: 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" 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>--<span class="Apple-converted-space"> </span><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>--<span class="Apple-converted-space"> </span><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>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature">Simone </div></div></div></blockquote></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>