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 <armin.bur...@gmail.com>

> 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, $shpMaxy);
>     $_SESSION['zoom_extparams'] = $ext;
> }
>
> and see if it does what you want. If so please let me know, I could add
> this then to the code.
>
> armin
>
> On 05/24/2013 04:17 PM, Valerio wrote:
> > 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@880@1@0&resetsession=ALL
> >
> > I'd like to show the selected feature but with a different map
> extension...
> > maybe there's something wrong in my url.
> >
> > thank you very much
> >
> > Valerio
> >
> >
> > 2013/5/24 Sylvain Arabeyre <sylvain.arabe...@gmail.com>
> >
> >> 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: field type (0 = numerical, 1= alphanumerical)
> >> SearchString is the search string (case sensitive)
> >> 0: highlight feature (0 = no, 1= yes) in your case set the value to 1
> >> 1: set the maximum map extent to feature extent (0 = no, 1= yes)
> >>
> >> Regards.
> >> Sylvain.
> >>
> >>
> >> 2013/5/24 Valerio <notis...@gmail.com>
> >>
> >>> 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
> >>> selection is not saved in the url. Is it possibile to pass this
> parameter,
> >>> or modifying the resetsession parameter?
> >>>
> >>> thanks in advance
> >>> best regards
> >>>
> >>> Valerio
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Try New Relic Now & We'll Send You this Cool Shirt
> >>> New Relic is the only SaaS-based application performance monitoring
> >>> service
> >>> that delivers powerful full stack analytics. Optimize and monitor your
> >>> browser, app, & servers with just a few lines of code. Try New Relic
> >>> and get this awesome Nerd Life shirt!
> >>> http://p.sf.net/sfu/newrelic_d2d_may
> >>> _______________________________________________
> >>> pmapper-users mailing list
> >>> pmapper-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >>>
> >>
> >>
> >
> ------------------------------------------------------------------------------
> > Try New Relic Now & We'll Send You this Cool Shirt
> > New Relic is the only SaaS-based application performance monitoring
> service
> > that delivers powerful full stack analytics. Optimize and monitor your
> > browser, app, & servers with just a few lines of code. Try New Relic
> > and get this awesome Nerd Life shirt!
> http://p.sf.net/sfu/newrelic_d2d_may
> > _______________________________________________
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> > .
> >
>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to