[OpenLayers-Trac] [OpenLayers] #529: allow tiles to have gutters
OpenLayers
trac at openlayers.org
Mon Apr 2 02:16:34 EDT 2007
#529: allow tiles to have gutters
----------------------+-----------------------------------------------------
Reporter: tschaub | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone: 2.4 Release
Component: general | Version:
Resolution: | Keywords: review
----------------------+-----------------------------------------------------
Changes (by tschaub):
* keywords: => review
* milestone: 2.5 Release => 2.4 Release
Comment:
Ok, I like this one better. WMS and MapServer layers get gutter
functionality. This is easy to extend to any other layers. Tests
included. See
http://dev.openlayers.org/sandbox/tschaub/gutter/examples/gutter.html for
an example.
A few notes:
1) Tests will not pass (and things will not work) unless the patch for
#616 is accepted first. This also means that for any layers using
Tile.Image, layer.tileSize or map.getTileSize() must return a sensible
value. For untiled layers, layer.tileSize was null and map.getTileSize()
returned the 256x256 default. Since these layers use Tile.Image, I think
it makes sense that they set their own tileSize.
2) This patch fixes #557
Will commit if this receives a favorable review.
--
Ticket URL: <http://trac.openlayers.org/ticket/529#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list