Il 22:19, giovedì 15 marzo 2007, Armin Burger ha scritto: > Fine and thanks for the report. A quiet strange error seems to have > disappeared with that. Maybe one should post this once on the Mapserver > list.
Sorry for cross posting, there is another issue, more related to php_mapscript than p.mapper, but maybe of interest here as well. A few weeks ago I reported a bug: https://sourceforge.net/tracker/?func=detail&atid=570606&aid=1600980&group_id=83770 Yesterday I noticed a similar bug in mapserver bugzilla: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=2047 The symptom is that even if MINSCALE is set to x and slidermin is set to x, user is not able to zoompoint exactly to x, but is "bounced" to a larger scale (a fixed value but apparently unrelated to x). I really cannot understand why it happens, but the values set in MINSCALE and slidermin must be honored in order to have a coherent GUI behaviour in p.mapper as in any other webgis. I patched pmap_zoompoint() in map.php and now it works as expected: After: http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/map.php#L519 // ABP: check scale $minscale = $this->map->web->minscale; //error_log($minscale); $new_scale = ($this->zoom_factor > 0) ? $this->old_geo_scale / $this->zoom_factor : $this->old_geo_scale * ( - $this->zoom_factor); if($new_scale < $minscale){ return $this->map->zoomscale($minscale + 0.1, $xy_pix, $this->mapwidth, $this->mapheight, $this->geoext0, $this->maxextent); } This seems a mapserver bug and not a p.mapper bug, but meanwhile it is fixed, this patch allows us to solve the problem. Regards. -- Alessandro Pasotti itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users