This commit is contained in:
AcuGIS 2024-05-27 13:26:32 +03:00
commit f1df65777b
3 changed files with 26 additions and 116 deletions

View File

@ -1,50 +1,36 @@
CSS
=======
Color Scheme
------------------
Quartz provides CSS overrides at map level.
The default color scheme is set by /var/www/qwc2/html/assets/css/colorschemes.css
To override the default CSS, enter your CSS into the Map CSS box on the map edit page.
You can edit this file or copy it and create a new file.
If you create a new file, you must modify the config.json accordingly to your new css.
.. image:: images/CSS.png
Application CSS
------------------
An override CSS file is contained at /var/www/qwc2/html/assets/css/qwc2.css
Example: Image Sizing
--------------------------------
Entries will be loaded last and therefore over ride other CSS elements.
To change pop-up image sizing, you can use something like below.
Note: Make sure that assets/css/qwc2.css is included in index.html.
.. code-block:: css
Logo
----------------------
.leaflet-popup-content > table img {width: 300px;}
.leaflet-popup-content > img { width: 300px;}
QWC2 logos are located at /var/www/qwc2/html/assets/img/
Thumbnails
----------------------
Example: Modal Info Box
------------------------------------------
Map thumbnails in the end user panel are set via the Map page.
To change Modal Info Box, you can use something like below.
The default thumbnails are located at
.. code-block:: css
/var/www/qwc2/html/assets/genmapthumbs
.modal-content {
position: relative;
display: flex;
flex-direction: column;
width: fit-content;
pointer-events: auto;
background-clip: padding-box;
border-radius: 20px;
outline: 0;
background-color: cadetblue;
color: #fff;
}
There is no need to add "!important" to CSS elements as map.css is loaded last and has precendence.
If you add new thumbnails, you must update this in your themesConig.json

View File

@ -11,26 +11,11 @@ To create a Map, click on "Add New" button.
.. image:: images/Add-Map.png
There are two options for creating a Map.
Give your map a name and a Description
Option 1: FTP Uploads.
~~~~~~~~~~~~~~~~~~~~~
FTP Uploads are qgis2web maps you have uploaded directly via FTP.
It can also maps you uploaded via any FTP client.
.. image:: images/Map-2.png
Option 2: Archive
~~~~~~~~~~~~~~
Archive is a zipped archive file you can upload.
.. image:: images/Map-3.png
Select the Project to publish:
.. image:: images/qwc_map.png
Map Options
@ -56,28 +41,6 @@ The Description is the text that will appear at the bottom of the map link
Data
--------------
The Data section is where you can connect your map layers to their Data Sources to make them dynamic.
.. image:: images/PostGIS-Select.png
QGIS Project File:
--------------
You can upload your QGIS Project file in order to use WMS, WFS, and WMTS
.. image:: images/QGIS-Project-File.png
Map CSS:
--------------
Enter any custom CSS for your map that wish to.
.. image:: images/CSS.png
Thumbnail Image:
--------------
@ -85,21 +48,6 @@ Upload a thumbnail image for your map to be displayed on the home page.
.. image:: images/Thumbnail.png
Data Tables:
--------------
Check the "Show Data Tables" box in order to provide users with data in table format.
.. image:: images/Show-Data-Table.png
Info Box.
--------------
The InfoBox is a modal information box you can display to map users.
.. image:: images/Info-Box.png
Security
--------------
@ -128,7 +76,4 @@ You can also tick the “Public” box to make your map public.
If your map is “Public”, you can use the map url to display the map.
By default, the map is full screen. You can also use an iframe like below:
.. image:: images/public-map.png

View File

@ -1,34 +1,13 @@
PDF Printing
=========
QuartzMap provides two options for PDF printing.
Print services are enabled by default.
1. Browser Print
2. QGIS Print Layout
In order to use Print functions, your QGIS Project must have at least one Print Layout for the project.
Browser Print.
------------
If multiple layouts are included, the layout can be selected via the Layout dropdown as shown below:
Browser Print is enabled by default and appears in the left control section.
.. image:: images/print-1.png
QGIS Print Layout
------------
To enable Print Layouts, you must upload your QGIS Project (Map > Edit > Upload Project).
Select the Print Layout you wish to use from the drop down
When an area is selected on the map, users will have the option of generating a PDF, GeoPDF, or PNG
.. image:: images/print-2.jpg
Simply click the appropriate option to download in that format
.. note::
GeoPDF option can take a long time to generate with larger data sets.
.. image:: images/qwc_print.png