Opened 19 years ago
Closed 19 years ago
#1334 closed defect (fixed)
[MapScript-PHP] initialization of scale only happens on setExtent
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapScript-PHP | Version: | 4.4 |
Severity: | minor | Keywords: | |
Cc: | mapserver@… |
Description
Contrary to the documentation for 4.4, the map scale is not calculated by calling $oMap->prepareQuery(). I also tried $oMap->prepareImage(); It is calculated if you set the extent using $oMap->setExtent( $oMap->extent->minx, $oMap->extent->miny, $oMap->extent->maxx, $oMap->extent->maxy); need to determine why prepareQuery/prepareImage are not calculating scale or update documentation to reflect use of setExtent as only valid way to calculate extent.
Note:
See TracTickets
for help on using tickets.