I use "$map->setExtent(....)" in globals.php and I've no problems. But I keep EXTENT in mapfile.
After reading my code, I call setExtent at the end of globals.php. Le 24/09/2010 12:44, s_lar...@libero.it a écrit : > With version dev it works! > For my needs, I customize the file globals.php in order to draw the various > layers. > Moreover, I also configure the extents of the map with setExtent (.) > I noticed that with this change (setExtent ()) select tool does not work, the > same applies to the version pmapper-dev. > > Try setting the following string in globals.php immediately after the > definition of $ map: > > $map = ms_newMapObj($PM_MAP_FILE); > $map-> setExtent (1988372,1400000,6411627,5400000); > > and then comment statement EXTENT in map file. > > >> Da: traf...@sirap.fr >> Data: 24/09/2010 11.01 >> A:<pmapper-users@lists.sourceforge.net> >> Ogg: Re: [pmapper-users] Problem with"Select Tool" and MAXSCALE >> >> Could you try this pmapper version : >> http://www.pmapper.net/dl/pmapper-dev.zip ? It is not a stable version, >> but more recent than yours. Maybe it could solve the problem. >> >> Le 24/09/2010 10:51, s_lar...@libero.it a écrit : >>> In log files no error, >>> Mapserver version is 5.2.1 (ms4w), >>> pmapper version is 4 dowloaded from http://sourceforge. >>> net/projects/pmapper/files/ >>> >>> >>> >>> >>>> Da: traf...@sirap.fr >>>> Data: 24/09/2010 9.28 >>>> A:<pmapper-users@lists.sourceforge.net> >>>> Ogg: Re: [pmapper-users] Problem with"Select Tool" and MAXSCALE >>>> >>>> Really I don't know... Because for me it works well with pmapper trunk >>>> and demodata. >>>> >>>> Nothing in the log files? Are you using an old mapserver version? Are >>>> you using the offical pmapper 4 version, or the last dev version >>>> (available here : http://www.pmapper.net/dl/pmapper-dev.zip or via SVN) ? >>>> >>>> Le 23/09/2010 19:49, s_lar...@libero.it a écrit : >>>>> I set in the mapfile MAXSCALEDENOM to 1000000 >>>>> and select tool does not work when the map has a scale of less than 1: >>>>> 10000000! >>>>> >>>>>> ----Messaggio originale---- >>>>>> Da: traf...@sirap.fr >>>>>> Data: 23/09/2010 13.38 >>>>>> A:<pmapper-users@lists.sourceforge.net> >>>>>> Ogg: Re: [pmapper-users] Problem with"Select Tool" and > MAXSCALE >>>>>> >>>>>> >>>>>>> Can you tell me the maxscale you specified in the mapfile and the > scale >>>>>>> just before you click on the map please ? >>>>>> Le 23/09/2010 13:05, Salvatore Larosa a écrit : >>>>>>> Can you tell me the maxscale you specified in the mapfile and the scale >>>>>>>> just before you click on the map please ? > ------------------------------------------------------------------------------ >>>>>> Start uncovering the many advantages of virtual appliances >>>>>> and start using them to simplify application deployment and >>>>>> accelerate your shift to cloud computing. >>>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>>> _______________________________________________ >>>>>> pmapper-users mailing list >>>>>> pmapper-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>>>> >>>>> > ------------------------------------------------------------------------------ >>>>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>> contest >>>>> Create new apps& games for the Nokia N8 for consumers in U.S. and > Canada >>>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>> marketing >>>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>>> http://p.sf.net/sfu/nokia-dev2dev >>>>> _______________________________________________ >>>>> pmapper-users mailing list >>>>> pmapper-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ >>>> Nokia and AT&T present the 2010 Calling All Innovators-North America > contest >>>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing >>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>> http://p.sf.net/sfu/nokia-dev2dev >>>> _______________________________________________ >>>> pmapper-users mailing list >>>> pmapper-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>> >>> >>> > ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America > contest >>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> pmapper-users mailing list >>> pmapper-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps& games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users