<div dir="ltr"><div>Until you are ready to test out dev or the upcoming beta GeoNode 2.5 release you could replace <a href="https://github.com/GeoNode/geonode/blob/2.4.x/geonode/settings.py#L613">https://github.com/GeoNode/geonode/blob/2.4.x/geonode/settings.py#L613</a> with the following:</div><div><br></div><div>MAPBOX_ACCESS_TOKEN = 'ADD_TOKEN_HERE'</div><div>MAP_BASELAYERS = [{</div><div>    "source": {"ptype": "gxp_olsource"},</div><div>    "type": "OpenLayers.Layer",</div><div>    "args": ["No background"],</div><div>    "visibility": False,</div><div>    "fixed": True,</div><div>    "group":"background"</div><div>}, {</div><div>    "source": {"ptype": "gxp_osmsource"},</div><div>    "type": "OpenLayers.Layer.OSM",</div><div>    "name": "mapnik",</div><div>    "visibility": True,</div><div>    "fixed": True,</div><div>    "group": "background"</div><div>}, {</div><div>    "source": {"ptype": "gxp_olsource"},</div><div>    "type": "<a href="http://OpenLayers.Layer.XYZ">OpenLayers.Layer.XYZ</a>",</div><div>    "args": [</div><div>        'Mapbox Dark',</div><div>        ('<a href="https://api.mapbox.com/styles/v1/mapbox/streets-v9/tiles/256/${z}/">https://api.mapbox.com/styles/v1/mapbox/streets-v9/tiles/256/${z}/</a>'</div><div>         '${x}/${y}?access_token=%s') % (MAPBOX_ACCESS_TOKEN),</div><div>        {</div><div>            'transitionEffect': 'resize',</div><div>            'attribution': '© Mapbox © OpenStreetMap'</div><div>        }</div><div>    ],</div><div>    "visibility": True,</div><div>    "fixed": True,</div><div>    "group": "background"</div><div>}]</div><div><br></div><div>Available styles:</div><div><br></div><div>replace the styles name in the xyz url, adjust the name and attribution.</div><div><br></div><div>streets-v9</div><div>    - Name: Mapbox Streetmap</div><div>    - Attribution: © Mapbox © OpenStreetMap</div><div><br></div><div>outdoors-v9</div><div>    - Name: Mapbox Outdoors</div><div>    - Attribution: © Mapbox © OpenStreetMap</div><div><br></div><div>dark-v9</div><div>    - Name: Mapbox Dark</div><div>    - Attribution: © Mapbox © OpenStreetMap</div><div><br></div><div>light-v9</div><div>    - Name: Mapbox Light</div><div>    - Attribution: © Mapbox © OpenStreetMap</div><div><br></div><div>satellite-v9</div><div>    - Name: Mapbox Satellite</div><div>    - Attribution: © Mapbox © DigitalGlobe</div><div><br></div><div>satellite-streets-v9</div><div>    - Name: Mapbox Satellite Streets</div><div>    - Attribution: © Mapbox © OpenStreetMap © DigitalGlobe</div><div><br></div><div>Hope that helps you out!</div><div><br></div><div>Dan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 2:24 PM, Thomas Gertin <span dir="ltr"><<a href="mailto:tgertin@vt.edu" target="_blank">tgertin@vt.edu</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"><div><div><div><div>I'm having trouble switching the basemap to MapBox tiles.<br></div><div><br>@ Daniel Berry If the ability to add MapBox tiles was committed in Master, does this mean it is available when I install GeoNode following the instructions on the main GeoNode site? (<span>sudo add-apt-repository ppa:geonode/stable)<br><br></span></div><span>If I already have GeoNode 2.4 installed, how can I get the new master version? <br><br></span></div><span>I tried switching out the basemap before, but I could never get it to work; but now with MapQuest disappearing I really need to.<br><br></span></div><span>Thanks,<br><br></span></div><span>Tom<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 12:17 PM,  <span dir="ltr"><<a href="mailto:geonode-devel-request@lists.osgeo.org" target="_blank">geonode-devel-request@lists.osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send geonode-devel mailing list submissions to<br>
        <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:geonode-devel-request@lists.osgeo.org" target="_blank">geonode-devel-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:geonode-devel-owner@lists.osgeo.org" target="_blank">geonode-devel-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of geonode-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: MapQuest has discontinued direct tile access<br>
      (Bart van den Eijnden)<br>
   2. Re: MapQuest has discontinued direct tile access (Daniel Berry)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 12 Jul 2016 17:34:06 +0200<br>
From: Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>><br>
To: Dimitris Karakostis <<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>><br>
Cc: Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>>, Simone Dalmasso<br>
        <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>, geonode-devel<br>
        <<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a>><br>
Subject: Re: [GeoNode-devel] MapQuest has discontinued direct tile<br>
        access<br>
Message-ID: <<a href="mailto:AD3CEE09-EB4D-47E2-9E2E-5D647729E658@boundlessgeo.com" target="_blank">AD3CEE09-EB4D-47E2-9E2E-5D647729E658@boundlessgeo.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
There is no apiKey param for MapBox sources in GXP, the MapBox source in GXP uses TMS access but this will likely only work for unprotected content:<br>
<br>
<a href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/MapBoxSource.js" rel="noreferrer" target="_blank">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/MapBoxSource.js</a> <<a href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/MapBoxSource.js" rel="noreferrer" target="_blank">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/MapBoxSource.js</a>><br>
<br>
Best regards,<br>
Bart<br>
<br>
> On 12 Jul 2016, at 17:31, Dimitris Karakostis <<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>> wrote:<br>
><br>
> I also followed the guidelines provided here: <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a> <<a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a>><br>
> and based on the solution provided in this issue: <a href="https://github.com/MapStory/mapstory/issues/933" rel="noreferrer" target="_blank">https://github.com/MapStory/mapstory/issues/933</a> <<a href="https://github.com/MapStory/mapstory/issues/933" rel="noreferrer" target="_blank">https://github.com/MapStory/mapstory/issues/933</a>><br>
> I tried with no success to set MapBox with an APIKey.<br>
><br>
> MAP_BOX_API_KEY = "my_api_key"<br>
> MAP_BASELAYERS = [...,{<br>
>     "source": {"ptype": "gxp_mapboxsource", "apiKey": MAP_BOX_API_KEY},<br>
>     'args': ['Satellite Imagery'],<br>
>     "name": "geography-class",<br>
>     "title": "Satellite MapBox",<br>
>     "fixed": True,<br>
>     "visibility": False,<br>
>     "group":"background"<br>
> }<br>
> ]<br>
><br>
> Do I set some parameter wrong?<br>
><br>
> On Tue, Jul 12, 2016 at 4:49 PM, Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a> <mailto:<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>>> wrote:<br>
> 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.<br>
><br>
> Best regards,<br>
> Bart<br>
><br>
>> On 12 Jul 2016, at 16:46, Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a> <mailto:<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I tried to arrange (and test) the config file local_setting following the guide:<br>
>> <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a> <<a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a>><br>
>><br>
>> after to have got the apikey from MapQuest.<br>
>><br>
>> However, it doesn't work...<br>
>><br>
>> Am I wrong in the local_setting?<br>
>> I modified as follow:<br>
>> 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>
>> }]<br>
>><br>
>><br>
>> E.<br>
>><br>
>><br>
>><br>
>> Da: Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a> <mailto:<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>>><br>
>> Inviato: martedì 12 luglio 2016 11.55<br>
>> A: Simone Dalmasso<br>
>> Cc: Eugenio Trumpy; Dimitris Karakostis; geonode-devel<br>
>> Oggetto: Re: [GeoNode-devel] MapQuest has discontinued direct tile access<br>
>><br>
>> 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.<br>
>><br>
>> Bart<br>
>><br>
>>> On 12 Jul 2016, at 11:50, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a> <mailto:<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>> wrote:<br>
>>><br>
>>> Thanks Bart,<br>
>>> interesting, so our gxp based viewers are unable to show mapquest tiles anymore....<br>
>>><br>
>>> 2016-07-12 11:47 GMT+02:00 Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a> <mailto:<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>>>:<br>
>>> Please note there doesn’t seem to be a legal way currently to do so, only for Leaflet:<br>
>>><br>
>>> <a href="https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134" rel="noreferrer" target="_blank">https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134</a> <<a href="https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134" rel="noreferrer" target="_blank">https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134</a>><br>
>>><br>
>>> Best regards,<br>
>>> Bart<br>
>>><br>
>>>> On 12 Jul 2016, at 11:45, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a> <mailto:<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>> wrote:<br>
>>>><br>
>>>> 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.<br>
>>>><br>
>>>> 2016-07-12 11:41 GMT+02:00 Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a> <mailto:<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>>>:<br>
>>>> Hi, what about to use this workaround (at least temporary):<br>
>>>><br>
>>>> <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a> <<a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a>><br>
>>>><br>
>>>> to set apiKey after a registration to mapquest? They allow 15000 transaction for free...<br>
>>>> actually I don't know if those are enough...<br>
>>>><br>
>>>> E.<br>
>>>><br>
>>>><br>
>>>> Da: geonode-devel <<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@lists.osgeo.org</a> <mailto:<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> <mailto:<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>><br>
>>>> Inviato: martedì 12 luglio 2016 11.00<br>
>>>> A: Dimitris Karakostis<br>
>>>> Cc: geonode-devel<br>
>>>> Oggetto: Re: [GeoNode-devel] MapQuest has discontinued direct tile access<br>
>>>><br>
>>>> Hi, yes I think we have to remove those layers from base maps.<br>
>>>><br>
>>>> 2016-07-12 10:49 GMT+02:00 Dimitris Karakostis <<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a> <mailto:<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>>>:<br>
>>>><br>
>>>><br>
>>>> As of July 11 MapQuest has discontinued direct tile access.<br>
>>>> More on the matter here:<br>
>>>> <a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" rel="noreferrer" target="_blank">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a> <<a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" rel="noreferrer" target="_blank">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a>><br>
>>>><br>
>>>> Example of broken baselayer in Geonode Demo page:<br>
>>>> <a href="http://demo.geonode.org/layers/geonode%3Aentidad" rel="noreferrer" target="_blank">http://demo.geonode.org/layers/geonode%3Aentidad</a> <<a href="http://demo.geonode.org/layers/geonode%3Aentidad" rel="noreferrer" target="_blank">http://demo.geonode.org/layers/geonode%3Aentidad</a>><br>
>>>><br>
>>>><br>
>>>> Dimitris<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> geonode-devel mailing list<br>
>>>> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a> <mailto:<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> <<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>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Simone<br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Simone<br>
>>>> _______________________________________________<br>
>>>> geonode-devel mailing list<br>
>>>> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a> <mailto:<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> <<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>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Simone<br>
><br>
><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160712/f20fb7f9/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160712/f20fb7f9/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 12 Jul 2016 11:17:02 -0500<br>
From: Daniel Berry <<a href="mailto:dberry@boundlessgeo.com" target="_blank">dberry@boundlessgeo.com</a>><br>
To: Dimitris Karakostis <<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>><br>
Cc: Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>>, geonode-devel<br>
        <<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a>><br>
Subject: Re: [GeoNode-devel] MapQuest has discontinued direct tile<br>
        access<br>
Message-ID:<br>
        <CAHEpKprAo0fZnSTUNJcGjg-qjDZ_k+aZ6=<a href="mailto:Wh4Vr-svtsHQP0sg@mail.gmail.com" target="_blank">Wh4Vr-svtsHQP0sg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dimitris,<br>
<br>
In GeoNode master Mapbox layer support has been added (XYZ). Mapbox layers<br>
can be added by setting the value here<br>
<a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L623" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L623</a><br>
<br>
README  -<br>
<a href="https://github.com/GeoNode/geonode/blob/master/geonode/contrib/api_basemaps/README.md" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/contrib/api_basemaps/README.md</a><br>
<br>
Respectfully,<br>
<br>
Daniel Berry<br>
<br>
<br>
<br>
On Tue, Jul 12, 2016 at 10:31 AM, Dimitris Karakostis <<br>
<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>> wrote:<br>
<br>
> I also followed the guidelines provided here:<br>
> <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a><br>
> and based on the solution provided in this issue:<br>
> <a href="https://github.com/MapStory/mapstory/issues/933" rel="noreferrer" target="_blank">https://github.com/MapStory/mapstory/issues/933</a><br>
> I tried with no success to set MapBox with an APIKey.<br>
><br>
> MAP_BOX_API_KEY = "my_api_key"<br>
> MAP_BASELAYERS = [...,{<br>
>     "source": {"ptype": "gxp_mapboxsource", "apiKey": MAP_BOX_API_KEY},<br>
>     'args': ['Satellite Imagery'],<br>
>     "name": "geography-class",<br>
>     "title": "Satellite MapBox",<br>
>     "fixed": True,<br>
>     "visibility": False,<br>
>     "group":"background"<br>
> }<br>
> ]<br>
><br>
> Do I set some parameter wrong?<br>
><br>
> On Tue, Jul 12, 2016 at 4:49 PM, Bart van den Eijnden <<br>
> <a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>> wrote:<br>
><br>
>> This will not work. GXP would need to be modified as well, but there is<br>
>> no way to do so since MapQuest only supports using a (closed) Leaflet<br>
>> plugin. There doesn’t seem to be an open API.<br>
>><br>
>> Best regards,<br>
>> Bart<br>
>><br>
>> On 12 Jul 2016, at 16:46, Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I tried to arrange (and test) the config file local_setting following the<br>
>> guide:<br>
>><br>
>> <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a><br>
>><br>
>> after to have got the apikey from MapQuest.<br>
>><br>
>> However, it doesn't work...<br>
>><br>
>> Am I wrong in the local_setting?<br>
>> I modified as follow:<br>
>><br>
>> 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>
>> }]<br>
>><br>
>><br>
>> E.<br>
>><br>
>><br>
>><br>
>> ------------------------------<br>
>> *Da:* Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>><br>
>> *Inviato:* martedì 12 luglio 2016 11.55<br>
>> *A:* Simone Dalmasso<br>
>> *Cc:* Eugenio Trumpy; Dimitris Karakostis; geonode-devel<br>
>> *Oggetto:* Re: [GeoNode-devel] MapQuest has discontinued direct tile<br>
>> access<br>
>><br>
>> It seems like that, unless MapQuest changes something but it doesn’t seem<br>
>> they have any intention to do so given our communication with them so far.<br>
>><br>
>> Bart<br>
>><br>
>> On 12 Jul 2016, at 11:50, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>
>> wrote:<br>
>><br>
>> Thanks Bart,<br>
>> interesting, so our gxp based viewers are unable to show mapquest tiles<br>
>> anymore....<br>
>><br>
>> 2016-07-12 11:47 GMT+02:00 Bart van den Eijnden <<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a><br>
>> >:<br>
>><br>
>>> Please note there doesn’t seem to be a legal way currently to do so,<br>
>>> only for Leaflet:<br>
>>><br>
>>> <a href="https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134" rel="noreferrer" target="_blank">https://github.com/openlayers/ol3/issues/5484#issuecomment-231988134</a><br>
>>><br>
>>> Best regards,<br>
>>> Bart<br>
>>><br>
>>> On 12 Jul 2016, at 11:45, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>> Well everyone is still free to make their own mapquest purchase plans<br>
>>> and add it to geonode, like bing we would only comment out the code.<br>
>>><br>
>>> 2016-07-12 11:41 GMT+02:00 Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>>:<br>
>>><br>
>>>> Hi, what about to use this workaround (at least temporary):<br>
>>>><br>
>>>><br>
>>>> <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/production.html#production</a><br>
>>>><br>
>>>> to set apiKey after a registration to mapquest? They allow 15000<br>
>>>> transaction for free...<br>
>>>> actually I don't know if those are enough...<br>
>>>><br>
>>>> E.<br>
>>>><br>
>>>><br>
>>>> ------------------------------<br>
>>>> *Da:* geonode-devel <<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@lists.osgeo.org</a>> per conto<br>
>>>> di Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>
>>>> *Inviato:* martedì 12 luglio 2016 11.00<br>
>>>> *A:* Dimitris Karakostis<br>
>>>> *Cc:* geonode-devel<br>
>>>> *Oggetto:* Re: [GeoNode-devel] MapQuest has discontinued direct tile<br>
>>>> access<br>
>>>><br>
>>>> Hi, yes I think we have to remove those layers from base maps.<br>
>>>><br>
>>>> 2016-07-12 10:49 GMT+02:00 Dimitris Karakostis <<br>
>>>> <a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>>:<br>
>>>><br>
>>>>><br>
>>>>><br>
>>>>> As of July 11 MapQuest has discontinued direct tile access.<br>
>>>>> More on the matter here:<br>
>>>>><br>
>>>>> <a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" rel="noreferrer" target="_blank">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a><br>
>>>>><br>
>>>>> Example of broken baselayer in Geonode Demo page:<br>
>>>>> <a href="http://demo.geonode.org/layers/geonode%3Aentidad" rel="noreferrer" target="_blank">http://demo.geonode.org/layers/geonode%3Aentidad</a><br>
>>>>><br>
>>>>><br>
>>>>> Dimitris<br>
>>>>><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>
>>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Simone<br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Simone<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>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Simone<br>
>><br>
>><br>
>><br>
><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>
><br>
<br>
<br>
--<br>
*Daniel Berry*<br>
Senior Software Engineer | Boundless<br>
<a href="mailto:dberry@boundlessgeo.com" target="_blank">dberry@boundlessgeo.com</a><br>
<a href="tel:512-468-3946" value="+15124683946" target="_blank">512-468-3946</a> (cell)<br>
@boundlessgeo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160712/7adf9980/attachment.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160712/7adf9980/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<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>
<br>
------------------------------<br>
<br>
End of geonode-devel Digest, Vol 18, Issue 22<br>
*********************************************<br>
</blockquote></div><br></div>
<br>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">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>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b><font face="tahoma, sans-serif">Daniel Berry</font></b></div><div><span style="font-family:tahoma,sans-serif;font-size:small">Senior Software Engineer</span><font face="tahoma, sans-serif"> | Boundless</font></div><div><a href="mailto:dberry@boundlessgeo.com" target="_blank"><font face="tahoma, sans-serif">dberry<font color="#1155cc">@boundlessgeo.com</font></font></a></div><div><font face="tahoma, sans-serif">512-468-3946 (cell)</font></div><div><font face="tahoma, sans-serif">@boundlessgeo</font></div><div><br style="font-size:12.8px"><img src="https://docs.google.com/a/boundlessgeo.com/uc?id=0B_qVH4CJ8mXOa3E1YUNySzN2d00&export=download" style="font-size:12.8px"><br></div></div></div></div></div></div>
</div>