I modified now query.php on the SVN so that the seextent and setmapsize
is not only applied for point queries (as it was until now) but also for
rectangle queries ("select").
see http://svn.pmapper.net/trac/changeset/1042
So far I never noticed any problems with the rectangle queries and could
also not re-produce this problem mentioned. But it should not harm
running these settings for both type of geo queries anyway...
armin
On 24/09/2010 14:44, Thomas RAFFIN wrote:
> I've forgottent : when I call map->setExtent, I also set map width and
> height (just before extent) : map->set('width', xxx) and
> map->set('height', xxx)
>
> Le 24/09/2010 12:44, [email protected] 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.
>>
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users