Valerio, You could try to change the buffer value for selected objects in your config file to a more convenient extent in <pointBuffer>50</pointBuffer> (if your layer is a point layer) or change the parameter <shapeQueryBuffer>0.02</shapeQueryBuffer> (if not a point layer)
The problem there is that this change will be applied to all queries used in pmapper (search, selection tools, etc.) and it may not be what you pretend... 2013/5/24 Valerio <notis...@gmail.com> > 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