Re: [pmapper-users] open pmapper window with active selection
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,areame=1612940.8751359,4841490.4329934,1613026.9070329,4841533.6401239language=itconfig=defaultzoomLayer=intervzoomQuery=ID@0@880@1@0resetsession=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=LayerNamezoomQuery=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
Re: [pmapper-users] open pmapper window with active selection
Dear Valerio, dear all You can set up the highlight of a feature via the URL adding the following string to the URL: zoomLayer=LayerNamezoomQuery=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
Re: [pmapper-users] open pmapper window with active selection
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,areame=1612940.8751359,4841490.4329934,1613026.9070329,4841533.6401239language=itconfig=defaultzoomLayer=intervzoomQuery=ID@0@880@1@0resetsession=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=LayerNamezoomQuery=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
Re: [pmapper-users] open pmapper window with active selection
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 sylvain.arabe...@gmail.com Valerio, You could try to change the buffer value for selected objects in your config file to a more convenient extent in pointBuffer50/pointBuffer (if your layer is a point layer) or change the parameter shapeQueryBuffer0.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,areame=1612940.8751359,4841490.4329934,1613026.9070329,4841533.6401239language=itconfig=defaultzoomLayer=intervzoomQuery=ID@0@880@1@0resetsession=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=LayerNamezoomQuery=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