Go to file
AcuGIS ef3d72a84f commit 2024-01-28 00:18:13 +02:00
docs commit 2024-01-28 00:18:13 +02:00
images commit 2024-01-28 00:18:13 +02:00
README.md commit 2024-01-28 00:18:13 +02:00
drop-down.js commit 2024-01-28 00:18:13 +02:00
menu.css commit 2024-01-28 00:18:13 +02:00
menu.tpl commit 2024-01-28 00:18:13 +02:00

README.md

Lizmap Map Menus

Add a drop-down, accordian, or tree menu for Lizmap.

Installation:

Installation of all three menu types is identical.

  1. Create a custom theme directory for testing:
mkdir /var/www/lizmap-web-client-3.5.5/lizmap/var/themes/default/view
  1. Copy the view.tpl file to the new directory
 cp -a lizmap/modules/view/templates/view.tpl lizmap/var/themes/default/view/view.tpl
  1. Add the contents of the menu.tpl to your view.tpl file, inserting just below {meta_html csstheme 'css/media.css'}

  2. Add the contents of the menu.css via Lizmap admin Theme CSS UI.

  3. Remove the menu types you do not wish to use.

  4. Drop-Down Map Only: Add the contents of drop-down.js to your view.js file.



Screenshots

Drop-Down Menu:

Your Lizmap homepage should now look as below:

alt text

Accordian Menu:

Your Lizmap homepage should now look as below:
alt text

Tree Menu:

Your Lizmap homepage should now look as below:
alt text

Drop Down Selector built with select2