<div dir="ltr">I also followed the guidelines provided here: <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a><div>and based on the solution provided in this issue: <a href="https://github.com/MapStory/mapstory/issues/933">https://github.com/MapStory/mapstory/issues/933</a></div><div>I tried with no success to set MapBox with an APIKey.</div><div><br></div><div>MAP_BOX_API_KEY = "my_api_key"<br></div><div>MAP_BASELAYERS = [...,{<br></div><div>    "source": {"ptype": "gxp_mapboxsource", "apiKey": MAP_BOX_API_KEY},</div><div>    'args': ['Satellite Imagery'],</div><div>    "name": "geography-class",</div><div>    "title": "Satellite MapBox",</div><div>    "fixed": True,</div><div>    "visibility": False,</div><div>    "group":"background"</div><div>}</div><div>]</div><div><br></div><div>Do I set some parameter wrong?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 4:49 PM, Bart van den Eijnden <span dir="ltr"><<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>></span> wrote:<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">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><br></div><div>Best regards,</div><div>Bart</div><div><div class="h5"><div><br><div><blockquote type="cite"><div>On 12 Jul 2016, at 16:46, Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>> wrote:</div><br><div><div style="font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:12pt;background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">Hi,</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">I tried to arrange (and test) the config file local_setting following the guide: </div><div style="margin-top:0px;margin-bottom:0px"><a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a></div><div style="margin-top:0px;margin-bottom:0px"><br></div><p style="margin-top:0px;margin-bottom:0px"></p><div style="margin-top:0px;margin-bottom:0px">after to have got the apikey from MapQuest.</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">However, it doesn't work...</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">Am I wrong in the local_setting?</div><div style="margin-top:0px;margin-bottom:0px">I modified as follow:</div><p style="margin-top:0px;margin-bottom:0px"></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 style="margin-top:0px;margin-bottom:0px"></p><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">E.<br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><br><br><div><hr style="display:inline-block;width:1065.25px"><div dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>Da:</b><span> </span>Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>><br><b>Inviato:</b><span> </span>martedì 12 luglio 2016 11.55<br><b>A:</b><span> </span>Simone Dalmasso<br><b>Cc:</b><span> </span>Eugenio Trumpy; Dimitris Karakostis; geonode-devel<br><b>Oggetto:</b><span> </span>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><br></div><div>Bart</div><div><br><div><blockquote type="cite"><div>On 12 Jul 2016, at 11:50, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Thanks Bart,<div>interesting, so our gxp based viewers are unable to show mapquest tiles anymore....</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-12 11:47 GMT+02:00 Bart van den Eijnden<span> </span><span dir="ltr"><<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>></span>:<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 style="word-wrap:break-word">Please note there doesn’t seem to be a legal way currently to do so, only for Leaflet:<div><br></div><div><a href="https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134" target="_blank">https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134</a></div><div><br></div><div>Best regards,</div><div>Bart<div><div><div><br><div><blockquote type="cite"><div>On 12 Jul 2016, at 11:45, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>> wrote:</div><br><div><div dir="ltr">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><div class="gmail_quote">2016-07-12 11:41 GMT+02:00 Eugenio Trumpy<span> </span><span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<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"><div 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">Hi, what about to use this workaround (at least temporary):</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">to set apiKey after a registration to mapquest? They allow 15000 transaction for free...</div><div style="margin-top:0px;margin-bottom:0px">actually I don't know if those are enough...</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">E.<br></div><br><br><div><hr style="display:inline-block;width:1017.359375px"><div dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>Da:</b><span> </span>geonode-devel <<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@lists.osgeo.org</a>> per conto di Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br><b>Inviato:</b><span> </span>martedì 12 luglio 2016 11.00<br><b>A:</b><span> </span>Dimitris Karakostis<br><b>Cc:</b><span> </span>geonode-devel<br><b>Oggetto:</b><span> </span>Re: [GeoNode-devel] MapQuest has discontinued direct tile access</font><div> </div></div><div><div><div><div dir="ltr">Hi, yes I think we have to remove those layers from base maps.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-12 10:49 GMT+02:00 Dimitris Karakostis<span> </span><span dir="ltr"><<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>></span>:<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"><br><div><br></div><div>As of July 11 MapQuest has discontinued direct tile access.</div><div>More on the matter here: </div><div><a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" target="_blank">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a><br></div><div><br></div><div>Example of broken baselayer in Geonode Demo page:</div><div><a href="http://demo.geonode.org/layers/geonode%3Aentidad" target="_blank">http://demo.geonode.org/layers/geonode%3Aentidad</a><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><br></div><div><br></div><div>Dimitris</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/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br><br></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div>Simone </div></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div>Simone </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/mailman/listinfo/geonode-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div>Simone </div></div></div></blockquote></div></div></div></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>