<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Alessio,
<div><br>
</div>
<div>since my 2.7.5 installation appeared to be outdated as client library was missing, I tried using a fresh 2.8 installation: as default, the application still tries to download tiles from
<i>openstreetmap.org</i></div>
<div>Digging into the code, I found different templates and configurations for leaflet, but I still don't understand how to change tile provider, or any other setting.</div>
<div>Can you give me some further instructions on this?</div>
<div>
<div>
<div style="">
<div style="">
<div style="">
<div style="">
<div style=""><span style="font-size: 13px;"><br>
</span></div>
<div style=""><span style="font-size: 13px;">Thank you very much,</span></div>
<div style=""><span style="font-size: 13px;"><br>
</span></div>
<div style=""><span style="font-size: 13px;">Stefano<br>
</span>
<div style="font-family: Tahoma; font-size: 13px; margin: 0px;"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF869725" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> geonode-users [geonode-users-bounces@lists.osgeo.org] on behalf of Stefano.LUONI@ext.ec.europa.eu [Stefano.LUONI@ext.ec.europa.eu]<br>
<b>Sent:</b> 15 May 2018 13:18<br>
<b>To:</b> alessio.fabiani@geo-solutions.it<br>
<b>Cc:</b> geonode-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [GeoNode-users] Leaflet settings<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">I didn't realize that, sorry! I'll investigate this with our IT.
<div>I also setup a separate page to test Leaflet with MapBox and it works fine...</div>
<div><br>
</div>
<div>By the way, do the settings you listed before refer to the Python module <i>django-geonode-client
</i>I see in the requirements.txt file? I'll try using that also.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Stefano
<div>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma">
<div>
<div>
<div style="font-size:13px; font-family:Tahoma; margin:0px"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF731263" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Alessio Fabiani [alessio.fabiani@geo-solutions.it]<br>
<b>Sent:</b> 15 May 2018 12:08<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> Alessio Fabiani; geonode-users<br>
<b>Subject:</b> Re: [GeoNode-users] Leaflet settings<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Stefano,
<div><br>
</div>
<div>from what you are saying I guess the problem is on your network then, maybe some firewall preventing you to load https osm tiles.</div>
<div><br>
</div>
<div>I currently can access those tiles without problems</div>
<div><br>
</div>
<div><img src="cid:ii_jh7ikkam0_1636345546d59e12" height="378" width="562"><br>
<br>
</div>
<div><img src="cid:ii_jh7ikzi81_163634597395ebb0" height="327" width="562"><br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">-------------------------------------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i
sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente
di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention
and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure,
reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone,
fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after
they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2018-05-15 11:58 GMT+02:00 <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.eu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi Alessio,
<div><br>
</div>
<div>well, actually my installation in version 2.7.5 and doesn't have any of the settings you're talking about; I guess they were introduced later. I created a Django project based on template on geonode-project Github repository, so Geonode itself is a requirement
of the project and the source code is into my virtual environment. These settings are not listed in Geonode settings file, nor in my project settings file.</div>
<div>Having said that, I'm not sure on how to proceed, also because I'm currently not able of performing a new installation, since I get broken dependencies issues, like so:</div>
<div><br>
</div>
<div>
<div><i>django-haystack 2.8.0 has requirement Django>=1.11, but you'll have django 1.8.19 which is incompatible.</i></div>
<div><i>docker 3.1.1 has requirement requests!=2.18.0,>=2.14.2, but you'll have requests 2.11.1 which is incompatible.</i></div>
<div><i>pycsw 2.0.3 has requirement OWSLib==0.10.3, but you'll have owslib 0.15.0 which is incompatible.</i></div>
<div><i>pycsw 2.0.3 has requirement pyproj==1.9.3, but you'll have pyproj 1.9.5.1 which is incompatible.</i></div>
<div><i>pycsw 2.0.3 has requirement Shapely==1.3.1, but you'll have shapely 1.5.17 which is incompatible.</i></div>
<div><i>flake8 2.5.4 has requirement pyflakes<1.1,>=0.8.1, but you'll have pyflakes 1.2.3 which is incompatible.</i></div>
<div><i><br>
</i></div>
<div><i><br>
</i></div>
<div>I Think I could have the same issue that exists on the website <a href="http://disasterrisk.af/" target="_blank">
http://disasterrisk.af/</a><a href="http://disasterrisk.af/" style="font-size:10pt" target="_blank">http://<wbr>disasterrisk.af/</a> where tiles are not loded in layer pages, nor in Risk Management Tools pages.</div>
<div><br>
</div>
<div>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma">
<div>
<div>
<div style="font-size:13px; font-family:Tahoma; margin:0px"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_4188512679290809422divRpF407213" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Alessio Fabiani [<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>]<br>
<b>Sent:</b> 15 May 2018 11:32<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> Alessio Fabiani; geonode-users
<div>
<div class="h5"><br>
<b>Subject:</b> Re: [GeoNode-users] Leaflet settings<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">Hi Stefano,
<div>I just started doing some tests with Leaflet. Did not taken a look at the background layers configuration yet.</div>
<div><br>
</div>
<div>First of all</div>
<div>-------------</div>
<div><br>
</div>
<div>On settings.py (or local_settings.py) in order to enable the Leaflet client library you now have to change the following ones</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace"># Default preview library</font></div>
<div><font face="monospace, monospace">GEONODE_CLIENT_LAYER_PREVIEW_<wbr>LIBRARY = 'leaflet' # DEPRECATED use HOOKSET instead</font></div>
<div><font face="monospace, monospace">GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.<wbr>LeafletHookSet"</font></div>
</div>
<div><br>
</div>
<div>Secondly</div>
<div>------------</div>
<div><br>
</div>
<div>I noticed that the Layer Details view works fine</div>
<div><br>
</div>
<div><img src="cid:ii_jh7h9wya1_1636324120a84bf8" height="385" width="562"><br>
<br>
</div>
<div>but the Map Composer has some issues.</div>
<div><br>
</div>
<div>Can you please describe in details your use case?</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_4188512679290809422gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">------------------------------<wbr>-------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i
sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente
di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention
and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure,
reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone,
fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after
they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2018-05-14 16:57 GMT+02:00 <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.<wbr>eu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma">
<div>
<div>Hi Alessio,</div>
<div><br>
</div>
<div>I have a bunch of errors where Leaflet is marked as initiatior of request (see attachment). This is from a page in a custom Geonode project; however, tiles are not loading in Geonode layer pages too.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Stefano</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_4188512679290809422m_-5795621913902955149divRpF318750" style="direction:ltr">
<font face="Tahoma" size="2" color="#000000"><b>From:</b> Alessio Fabiani [<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>]<br>
<b>Sent:</b> 14 May 2018 16:35<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> geonode-users<br>
<b>Subject:</b> Re: [GeoNode-users] Leaflet settings<br>
</font><br>
</div>
<div>
<div class="m_4188512679290809422h5">
<div></div>
<div>
<div dir="ltr">So, in GeoNode 2.7 the Javascript context of the map is a bit different from the precious versions. It contains more informations about layer projection and temporal dimension.
<div><br>
</div>
<div>Most probably the old Leaflet JS map configuration is no more able to find the layer configurations from the new-style json.</div>
<div><br>
</div>
<div>I'll try to take a look at this. In the meantime, can you confirm that you have a bunch of Javascript errors when trying to load the Leaflet viewer?</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_4188512679290809422m_-5795621913902955149gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A+55054++Massarosa&entry=gmail&source=g" target="_blank">Via di Montramito 3/A</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A+55054++Massarosa&entry=gmail&source=g" target="_blank">55054
</a> <a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A+55054++Massarosa&entry=gmail&source=g" target="_blank">Massarosa</a> (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">------------------------------<wbr>-------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i
sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente
di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention
and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure,
reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone,
fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after
they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2018-05-14 16:21 GMT+02:00 <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.e<wbr>u</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi everyone,
<div><br>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div style="font-family:Tahoma; font-size:13px; margin:0px">map tiles suddenly stopped loading on my Geonode installation (2.7); the urls generated by Leaflet are like <i><a href="https://c.tile.openstreetmap.org/3/3/2.png" target="_blank">https://c.tile.openstreet<wbr>map.org/3/3/2.png</a></i> and
simply won't load.</div>
<div style="font-family:Tahoma; font-size:13px; margin:0px">When I first installed Geonode I left all map and layers settings as default and everything worked. Can you address me on how I'm supposed to configure Geonode's Leaflet to use another layer provider,
such as Mapbox, or do you have different suggestions to solve my issue?</div>
<div style="font-family:Tahoma; font-size:13px; margin:0px"><br>
</div>
<div style="font-family:Tahoma; font-size:13px; margin:0px">Thanks,</div>
<div style="font-family:Tahoma; font-size:13px; margin:0px"><br>
</div>
<div style="font-family:Tahoma; font-size:13px; margin:0px">Stefano</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>