Hi Armin,
it works!! it does exactly what I want: feature selection doesn't override
coordinates parameters of the url..
thank you very much
Valerio
2013/5/24 Armin Burger
> you could try to modify the file incphp/init/initmap.php in function
> "getMapInitURL" at line 782-783
>
> from
>
> $ext
you could try to modify the file incphp/init/initmap.php in function
"getMapInitURL" at line 782-783
from
$ext = array ($shpMinx, $shpMiny, $shpMaxx, $shpMaxy);
$_SESSION['zoom_extparams'] = $ext;
to
if (! isset($_SESSION['zoom_extparams'])) {
$ext = array ($shpMinx, $shpMiny, $shpMaxx, $s
Sylvain,
yes indeed... having several search queries in the application, I won't
modify the buffer and leave the default zoom extension..
thank you very much!
Valerio
2013/5/24 Sylvain Arabeyre
> Valerio,
>
> You could try to change the buffer value for selected objects in your
> config file
Valerio,
You could try to change the buffer value for selected objects in your
config file to a more convenient extent in 50
(if your layer is a point layer) or change the parameter
0.02 (if not a point layer)
The problem there is that this change will be applied to all queries used
in pmapper (
Dear Sylvain,
Selection works! however it zooms to the feature coordinates and overrides
the coordinates contained in the url:
http://MYIP/map/mappa.phtml?dg=interv,area&me=1612940.8751359,4841490.4329934,1613026.9070329,4841533.6401239&language=it&config=default&zoomLayer=interv&zoomQuery=ID@0@88
Dear Valerio, dear all
You can set up the highlight of a feature via the URL adding the following
string to the URL:
&zoomLayer=LayerName&zoomQuery=NAME@1@SearchString@0@1
where:
LayerName is the name of the layer to query,
NAME is the name of the field to search (upper case for shapefiles)
1:
Dear All,
I inserted in a web page links that open (in a new window) a pmapper
webgis at different coordinates extensions, simply zooming and copying the
link url with a resetsession parameter set to ALL. However, in every view
I'd like to show a selected (yellow) object. it seems that the object