Sandro

I checked the code, and the solution I suggested will work only in very 
rare cases where an explicit zoom to an extent is performed (which is 
rarely the case).

Otherwise it seems Mapserver has a very special way to handle this 
MINSCALE/MINSCALEDENOM. It works if the map width is lower than the map 
height (you can easily try this effect). Otherwise it usually sets a 
higher value for the resulting scale. This seems to be a "feature" (I'd 
call it a bug) of Mapserver/Mapscript and cannot easily overcome in 
p.mapper (or would require adding lots of additional checks for all the 
various zoom functions).

armin

On 06/04/2011 19:22, Sandro Ferrara wrote:
> Thanks, but unfortunately it does not work in both ways.
>
> Sandro
>
>
> Il 06/04/2011 17:30, Armin Burger ha scritto:
>> Try to replace in incphp/map/map.php line 590
>>     if ($minscale = $this->map->web->minscale) {
>> with
>>     if ($minscale = $this->map->web->minscaledenom) {
>>
>> and see if it helps. I just recently replaced all min/maxscale with
>> min/maxscaledenom in the dev version which is the recommended setting.
>>
>> alternatively you could try the other way round for a test and define
>>     MAP->WEB->   MINSCALE
>> instead.
>>
>> armin
>>
>
>

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to