[ka-Map-dev] [Bug 1349] New: tile_source metadata

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Mar 10 20:31:22 EST 2006


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

           Summary: tile_source metadata
           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: tim at commenspace.org


I've added support (in my local version) for "tile_source" layer metadata.

Possible values are "auto", "redraw", and "cache".

Auto is the default, is the same as not specifying anything, and causes tile.php
to be called in the current manner (checking for cached tiles and creating new
ones if necessary).

Redraw creates the same behavior as the current "force_redraw" option (bug 1290).

Cache requires that a web accessible cache directory is specified in config.php
- tiles are then drawn directly from this directory, avoiding tile.php altogether.

This works well on my sytstem (significantly faster with "cache").  If there is
interest in having it part of cvs, I'll be happy to commit.  It involves minor
changes to init.php and kaMap.js (only adds one check for _layer.tileSource per
setTile if you like the old behavior). Also, I'd propose that this replaces the
"force_redraw" metadata.

I'll be adding a "nocache" option as well.  This will use tile.php to draw only
the tile (no metatile) and do no caching.  I imagine this will be of less
interest to others, but I'd guess the other options might be used.



------- 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