[GeoNode-users] Add Plugins to Geoexplorer Viewer for Geonode

Alessio Fabiani alessio.fabiani at geo-solutions.it
Tue Mar 6 01:29:59 PST 2018

Hi Joshi,

first thing to do is to update the Javascript code. GeoExplorer used by
GeoNode is quite far from the original boundless SDK, abandoned several
years ago.

The source code can be downloaded here


(be careful to git update the submodules also)

To add new features and/or plugins you need to modify build.cfg and

To rebuild the packages you need to run "ant" from the root folder

Ant will create two JS files under

1. GeoExplorer.js is the obfuscated and compacted version
2. GeoExplorer-debug.js it the clear version (useful to debug things during

To debug the Javascript you can simply change the GeoNode template
"geo_header.html" and make it pointing to your debug version


<!-- script src="{{ STATIC_URL }}geoexplorer/script/GeoExplorer.js?v={{
VERSION }}" type="text/javascript"></script -->
*<script type="text/javascript"

Once you are happy with your changes and want to create a new version on
Pypi you need to do two things:

1. Commit your updates to https://github.com/GeoNode/geoexplorer
2. Commit your new compiled JS files to
https://github.com/GeoNode/django-geoexplorer into
3. Update the version of
4. Commit the new package on Pypi
5. Update the GeoNode dependencies

 - https://github.com/GeoNode/geonode/blob/master/requirements.txt#L36
 - https://github.com/GeoNode/geonode/blob/master/setup.py#L134

Once you are happy with your changes


Alessio Fabiani

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.

Ing. Alessio Fabiani

Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686




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.

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.

2018-03-06 10:06 GMT+01:00 Joshi, Jigeeshu <Jigeeshu.Joshi at ils-forschung.de>

> Hi All,
> I want to add some features in Map viewer (Geoexplorer) in Geonode (like *info
> widget* which describes the map/project) . Can anyone guide me how this
> could be done?
> From the post I have referred so far I understood that-  we need to build
> geoexplorer  viewer from Boundless sdk locally. Add/develop all
> functionalities/plugins required and then integrate/overwrite into Geonode
> as a new Map Viewer. Is this correct?  Can you provide more info on how
> this could be achieved.
> Or is it possible to add plugins directly to the existing geoexplorer in
> Geonode ? More info... ?
> I am unable to find sufficient information on internet to go ahead with
> the task. Your help will be appreciated.
> *Thanks!*
> *Jio*
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180306/f73bed7e/attachment.html>

More information about the geonode-users mailing list