<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks Alessio,<br>
Does Leaflet/maps work well in Geonode 2.8.1 docker installation ?<br>
Another notice about GeoNode 2.10rc4 docker installation:<br>
When we upload layer into Geonode it's invisible (well zoomed but invisible). We have to remove it from GeoWebCache layers and put it back. After that, layers are displayed well.<br>
Please look detailed issue description in video:<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=oP9VXRUH4d8">https://www.youtube.com/watch?v=oP9VXRUH4d8</a><br>
<br>
regards,<br>
Dejan.<br>
<br>
<div class="moz-cite-prefix">On 12/17/2018 10:37 AM, <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">
geonode-users-request@lists.osgeo.org</a> wrote:<br>
</div>
<blockquote type="cite" cite="mid:mailman.2685.1545039466.17185.geonode-users@lists.osgeo.org">
<pre class="moz-quote-pre" wrap="">Send geonode-users mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-owner@lists.osgeo.org">geonode-users-owner@lists.osgeo.org</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geonode-users digest..."


Today's Topics:

   1. Leaflet maps are not working (Dejan Samardzic)
   2. Re: Leaflet maps are not working (Alessio Fabiani)


----------------------------------------------------------------------

Message: 1
Date: Mon, 17 Dec 2018 09:32:28 +0000
From: Dejan Samardzic <a class="moz-txt-link-rfc2396E" href="mailto:dejan.samardzic@cedis.me"><dejan.samardzic@cedis.me></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users-request@lists.osgeo.org">"geonode-users-request@lists.osgeo.org"</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users-request@lists.osgeo.org"><geonode-users-request@lists.osgeo.org></a>,
        <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users@lists.osgeo.org">"geonode-users@lists.osgeo.org"</a> <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users@lists.osgeo.org"><geonode-users@lists.osgeo.org></a>
Subject: [GeoNode-users] Leaflet maps are not working
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:3eabdccbe84a4d52bcac4405601596c8@cedis.me"><3eabdccbe84a4d52bcac4405601596c8@cedis.me></a>
Content-Type: text/plain; charset="iso-8859-2"

Dear Geonode community,
We have installed Geonode 2.10rc4 on Ubuntu 18.04. Installation has been made on docker, using the following Mr. Alessio's instructions:

<a class="moz-txt-link-freetext" href="https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit">https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit</a>

After basic geonode installation, we have enabled Leaflet by changing in django docker in file:
/usr/src/app/geonode/settings.py
#GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'geoext'  # DEPRECATED use HOOKSET instead
#GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.GeoExtHookSet"
# To enable the Leaflet based Client enable those

GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'leaflet'  # DEPRECATED use HOOKSET instead
GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.LeafletHookSet"

But now layers are displaying correctly, but maps are not working at all. Layers drop down list is not populated and error is displaying in console log.
Please look detailed issue description in video:

<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=IJQTeFzBi_E">https://www.youtube.com/watch?v=IJQTeFzBi_E</a>

regards,
Dejan.
--



 Dejan Samardžić        Rukovodilac Sektora za ICT / IT Manager

[<a class="moz-txt-link-freetext" href="cid:part3.9EDB3BDD.CC5F8FA8@cedis.me">cid:part3.9EDB3BDD.CC5F8FA8@cedis.me</a>]
CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm:    +382 67 220 971
tel:    +382 20 408 453
email:  <a class="moz-txt-link-abbreviated" href="mailto:dejan.samardzic@cedis.me">dejan.samardzic@cedis.me</a><a class="moz-txt-link-rfc2396E" href="mailto:dejan.samardzic@cedis.me"><mailto:dejan.samardzic@cedis.me></a>
web:    <a class="moz-txt-link-abbreviated" href="http://www.cedis.me">www.cedis.me</a><a class="moz-txt-link-rfc2396E" href="http://www.cedis.me"><http://www.cedis.me></a>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.html"><http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.html></a>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajhdamaioidcghbl.jpg
Type: image/jpeg
Size: 1641 bytes
Desc: ajhdamaioidcghbl.jpg
URL: <a class="moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.jpg"><http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.jpg></a>

------------------------------

Message: 2
Date: Mon, 17 Dec 2018 10:37:29 +0100
From: Alessio Fabiani <a class="moz-txt-link-rfc2396E" href="mailto:alessio.fabiani@geo-solutions.it"><alessio.fabiani@geo-solutions.it></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:dejan.samardzic@cedis.me">dejan.samardzic@cedis.me</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>,  geonode-users
        <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users@lists.osgeo.org"><geonode-users@lists.osgeo.org></a>
Subject: Re: [GeoNode-users] Leaflet maps are not working
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAM7ZvLKGZc4KUcAB+qNk-5nwoLg-rTX3RCzkfh4pAPt8JeaDyQ@mail.gmail.com"><CAM7ZvLKGZc4KUcAB+qNk-5nwoLg-rTX3RCzkfh4pAPt8JeaDyQ@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"

Dear Dejan,
from your video it looks like a jQuery error is preventing Leaflet to load
correctly.

I'm afraid this is a regression and we should open a GitHub Issue for that
and wait for some available dev resource to take a look at it.
Best regards,
Alessio.


Il giorno lun 17 dic 2018 alle ore 10:32 Dejan Samardzic <
<a class="moz-txt-link-abbreviated" href="mailto:dejan.samardzic@cedis.me">dejan.samardzic@cedis.me</a>> ha scritto:

</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Dear Geonode community,
We have installed Geonode 2.10rc4 on Ubuntu 18.04. Installation has been
made on docker, using the following Mr. Alessio's instructions:


<a class="moz-txt-link-freetext" href="https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit">https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit</a>

After basic geonode installation, we have enabled Leaflet by changing in
django docker in file:
/usr/src/app/geonode/settings.py
#GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'geoext'  # DEPRECATED use HOOKSET
instead
#GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.GeoExtHookSet"
# To enable the Leaflet based Client enable those

GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'leaflet'  # DEPRECATED use HOOKSET
instead
GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.LeafletHookSet"

But now layers are displaying correctly, but maps are not working at all.
Layers drop down list is not populated and error is displaying in console
log.
Please look detailed issue description in video:

<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=IJQTeFzBi_E">https://www.youtube.com/watch?v=IJQTeFzBi_E</a>

regards,
Dejan.
--


* Dejan Samardžić* Rukovodilac Sektora za ICT / IT Manager

CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm: +382 67 220 971
tel: +382 20 408 453
email: <a class="moz-txt-link-abbreviated" href="mailto:dejan.samardzic@cedis.me">dejan.samardzic@cedis.me</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.cedis.me">www.cedis.me</a>


_______________________________________________
geonode-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a>

</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">

</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Language" content="en-us">
<title></title>
<style>
                        </style>
<p> </p>
<p></p>
<table style="border-collapse: collapse" width="490" cellspacing="0" cellpadding="0" bordercolor="#111111" border="0">
<tbody>
<tr>
<td style="border-bottom-style: solid; border-bottom-width:
              1" width="630" align="center">
<b><font size="2" face="Verdana"> Dejan Samardžić</font></b></td>
<td style="border-bottom-style: solid; border-bottom-width:
              1" width="954" align="left">
<font size="2" face="Verdana"><span>Rukovodilac Sektora za ICT / IT Manager</span></font></td>
</tr>
<tr>
<td valign="top" align="center"><br>
<img src="cid:part1.A596F8A0.1F8C1F72@cedis.me"> </td>
<td style="border-top-style: solid; border-top-width: 1" width="254" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="2" style="font-size:8.0pt;font-family:Verdana">CEDIS d.o.o. </td>
</tr>
<tr>
<td colspan="2" style="font-size: 8.0pt;
                      font-family: Verdana">
Ivana Milutinovića 12, 81000 Podgorica </td>
</tr>
<tr>
<td width="40"><span style="font-size:8.0pt;font-family:Verdana">gsm:</span></td>
<td width="205"><span style="font-size:8.0pt;font-family:Verdana">+382 67 220 971</span></td>
</tr>
<tr>
<td width="40"><span style="font-size:8.0pt;font-family:Verdana">tel:</span></td>
<td width="205"><span style="font-size:8.0pt;font-family:Verdana">+382 20 408 453</span></td>
</tr>
<tr>
<td><span style="font-size:8.0pt;font-family:Verdana">email:</span></td>
<td><span style="font-size:8.0pt;font-family:Verdana"><a href="mailto:dejan.samardzic@cedis.me">dejan.samardzic@cedis.me</a></span></td>
</tr>
<tr>
<td><span style="font-size:8.0pt;font-family:Verdana">web:</span></td>
<td><span style="font-size:8.0pt;font-family:Verdana"><a href="http://www.cedis.me">www.cedis.me</a></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> </p>
</div>
</body>
</html>