[Qgis-user] QGIS Web Client: how to expose map sublayers or symbols when generating a graduated/thematic/chloropleth map
Tony Pham
tony_n_pham at yahoo.com
Mon Aug 31 12:28:17 PDT 2015
Within the QGIS Web Client, how does one enable the sublayers of Map Layers to be exposed?On my QGIS application, I have created a QGIS project file comprised of a chloropleth map (or a graduated map or a thematic map) which shows each map object in a different color based on a specific value of the map object. In the QGIS application, I am able to check and uncheck these "sublayers" that have been created.When I view the QGIS project file on the QGIS Web Client, I can view the chloropleth map fine as-is. However, I do not have the ability to check or uncheck the sublayers of the map layer in question on the browser client unlike the QGIS application directly where I may check or uncheck each sublayer or symbol color.A example is described below. For the following New Zealand map of cities generated and displayed using QGIS, each circle has a color associated with it based on the population of the city. The larger the population, the darker the color of the circle. The QGIS project as generated in the QGIS application shows each sublayer's category on the left pane. See first link below. When I attempt to post this QGIS project on the QGIS Web Client as shown in the second image, I do not see each sublayer identified on the Map Layers pane on the left. See second link below.http://i.stack.imgur.com/qg1gD.png
http://i.stack.imgur.com/qA54T.png
| |
| | | | | | | |
| |
| |
| View on i.stack.imgur.com | Preview by Yahoo |
| |
| |
| |
| | | | | | | |
| |
| |
| View on i.stack.imgur.com | Preview by Yahoo |
| |
| |
I am interested in viewing these sublayers in my "legend" on the browser because the sublayers provide information as to how the chloropleth map is broken down by color. Additionally, I would like to be able to check and/or uncheck each sublayer (or symbol color/category) independently in the QGIS Web Client, similar to how I may do so in the QGIS application. Within QGIS-Web-Client, are there settings in the javascript files that I must modify to enable the exposing of these sublayers of my map layers?Any help would be appreciated! -tph018nwu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150831/9ebaaf6a/attachment.html>
More information about the Qgis-user
mailing list