[ka-Map-dev] [Bug 1283] New: [ka-Map] add support for maxExtents

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Feb 8 11:24:28 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1283

           Summary: [ka-Map] add support for maxExtents
           Product: ka-Map
           Version: 0.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: core
        AssignedTo: ka-map-dev at lists.maptools.org
        ReportedBy: pspencer at dmsolutions.ca


the proposal is to add support for limiting panning to maximum extents.  Preliminary work on this 
patch is being done by Tim Schaub.

Changes required:

- modify init.php to process max_extents metadata as follows:

if not set, no max_extents
if set, it can be either:
  AUTO: use the map extents as the max extents
  extents: comma or space separated minx miny maxx maxy format

- modify kaMap.js as follows:
  add a checkMaxExtents function to do the work of figuring out if a move has hit the max extents
  add calls to checkMaxExtents at various points in the code to ensure the max_extents are respected



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list