From ffc2365a67242109e3aeb8fd94cab1b9bc7eeb38 Mon Sep 17 00:00:00 2001 From: AcuGIS Date: Mon, 27 May 2024 09:59:02 +0000 Subject: [PATCH 1/3] Update docs/source/maps.rst --- docs/source/maps.rst | 61 +++----------------------------------------- 1 file changed, 3 insertions(+), 58 deletions(-) diff --git a/docs/source/maps.rst b/docs/source/maps.rst index 52b41c3..ce58884 100644 --- a/docs/source/maps.rst +++ b/docs/source/maps.rst @@ -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 From 6dd53ff17712031eac71df0dba264e79a23f60d3 Mon Sep 17 00:00:00 2001 From: AcuGIS Date: Mon, 27 May 2024 10:05:24 +0000 Subject: [PATCH 2/3] Update docs/source/pdf.rst --- docs/source/pdf.rst | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/docs/source/pdf.rst b/docs/source/pdf.rst index 21c46eb..c1eadbb 100644 --- a/docs/source/pdf.rst +++ b/docs/source/pdf.rst @@ -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 From 20edda0524410df22a63828a57ef73751c094f83 Mon Sep 17 00:00:00 2001 From: AcuGIS Date: Mon, 27 May 2024 10:18:10 +0000 Subject: [PATCH 3/3] Update docs/source/css.rst --- docs/source/css.rst | 52 +++++++++++++++++---------------------------- 1 file changed, 19 insertions(+), 33 deletions(-) diff --git a/docs/source/css.rst b/docs/source/css.rst index 9a00ea2..04c3700 100644 --- a/docs/source/css.rst +++ b/docs/source/css.rst @@ -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. - - - - \ No newline at end of file +If you add new thumbnails, you must update this in your themesConig.json \ No newline at end of file