Emanuele, it might help if you use the terminology used in pmapper when describing functionalities. I guess with 'rectangle selection' you mean the tool that's called 'Select', thus using a rectangle (but also just a point click) and applying the map query only on the layer chosen in the pull-down menu. The 'Identify' tool is probably what you mean with 'point selection', this applies to all visible layers that have a template set in the map file.
There is nothing to fix since the missing highlight function of the identify is made intentionally. Highlighting features of different layers makes no sense to me. As mentioned, you can use the 'select' also for single mouse clicks. Changing from the select to the identify tool does not remove the highlighting, that is also intended to be so. You can use the 'refresh' button to do this. I am an old ArcView 3 user and the behaviour of some functions is partially similar to the AV ones, with some modifications for usage by casual users. You can initiate the refresh also all the time when the select tool is disabled, just some slight modifications in mapserver.js, eg. the 'domouseclick(button)' function. Armin Emanuele Masiero wrote: > I need to use the data of selected features outputted by info.php. > > > > I noticed that in info.php there is the global var > $_SESSION[?resultlayers?] that calls the array with SHAPEINDEXes of the > selected objects, this is perfect for me. > > > > This call works only with ?rectangle selection? and not with ?point > selection?. > > Maybe this problem is the reason of missing highlighting on the map of > ?by point? selection. > > Infact while using ?by point? after a ?by rectangle? selection, old > selected features remain turned on. > > > > Is it possible to fix the code? > > Bye > > Emanuele > > > ------------------------------------------------------------------------ > > _______________________________________________ > Pmapper-users mailing list > Pmapper-users at faunalia.it > http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
