Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acugis/lizmap-menus
Map Menus for Lizmap
https://github.com/acugis/lizmap-menus
lizmap
Last synced: about 2 months ago
JSON representation
Map Menus for Lizmap
- Host: GitHub
- URL: https://github.com/acugis/lizmap-menus
- Owner: AcuGIS
- Created: 2022-07-24T20:34:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T15:18:01.000Z (over 1 year ago)
- Last Synced: 2024-11-09T09:43:35.747Z (3 months ago)
- Topics: lizmap
- Language: Smarty
- Homepage:
- Size: 7.5 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```console
mkdir /var/www/lizmap-web-client-3.5.5/lizmap/var/themes/default/view
```
2. Copy the view.tpl file to the new directory
```console
cp -a lizmap/modules/view/templates/view.tpl lizmap/var/themes/default/view/view.tpl
```3. Add the contents of the [menu.tpl](https://github.com/AcuGIS/lizmap-menus/blob/main/menu.tpl) to your view.tpl file, inserting just below
{meta_html csstheme 'css/media.css'}
4. Add the contents of the [menu.css](https://github.com/AcuGIS/lizmap-menus/blob/main/menu.css) via Lizmap admin Theme CSS UI.
5. Remove the menu types you do not wish to use.
6. 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:

### Accordian Menu:
Your Lizmap homepage should now look as below:
### Tree Menu:
Your Lizmap homepage should now look as below:
Drop Down Selector built with [select2](https://select2.org)