[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-developer
Subject: [Qgis-developer] QWC: more querystring parameters
From: Alessandro Pasotti <apasotti () gmail ! com>
Date: 2014-05-27 9:27:49
Message-ID: CAL5Q673SWjmywmE1=5BX_Cbfd0Pm-GxZGyWKRQmdMTjH4uqkww () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I've added a few small new features to QWC, currently they are in
Customizations.js because I'm unsure if they can be of general interest, if
yes, I would be happy to share and merge them upstream to QWC:
* center/zoom map on QWC load, for example:
?zoom=12¢er=8.24,44.99&srid=4326 will center the map and zoom, an
optional "layers" parameter can be used to activate (show) the specified
layers.
* center/zoom to a feature, for example:
?searchtable=Numeri%20Civici&searchcolumn=gid&searchvalue=18247&zoom=11
this will search into layer named Numeri%20Civici for feature with
gid=18247 and zoom/highlight to feature if found, this function uses a
slightly modified version of search_geom.php, for security reasons, only
layers configured to be searchable in config.php are enabled.
--
Alessandro Pasotti
w3: www.itopen.it
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I've added a few small \
new features to QWC, currently they are in Customizations.js because I'm unsure \
if they can be of general interest, if yes, I would be happy to share and merge them \
upstream to QWC:<br> <br></div>* center/zoom map on QWC load, for \
example:<br>?zoom=12&center=8.24,44.99&srid=4326 will center the map and \
zoom, an optional "layers" parameter can be used to activate (show) the \
specified layers. <br> <br></div>* center/zoom to a feature, for \
example:<br>?searchtable=Numeri%20Civici&searchcolumn=gid&searchvalue=18247&zoom=11<br><br></div>this \
will search into layer named Numeri%20Civici for feature with gid=18247 and \
zoom/highlight to feature if found, this function uses a slightly modified version \
of search_geom.php, for security reasons, only layers configured to be searchable in \
config.php are enabled.<br> <br></div><br><div><div><div><div><div><div>-- \
<br>Alessandro Pasotti<br>w3: <a href="http://www.itopen.it">www.itopen.it</a> \
</div></div></div></div></div></div></div>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic