[OpenLayers-Users] Ka-Map layer issues
Ehud Shabtai
eshabtai at gmail.com
Mon Aug 28 09:59:39 CDT 2006
On 8/28/06, Christopher Schmidt <crschmidt at crschmidt.net> wrote:
> On Mon, Aug 28, 2006 at 08:39:21AM -0500, Tim Langlois wrote:
> > Do the tile size openlayers is using match what ka-maps is configured to
> > use. I think Openlayers defaults to 256x256.
Tim, the tile size does match.
Christopher, thanks for the Permalink explanation it now works well.
The display issue does look like a rounding problem. When I'm able to
reproduce the problem, if I use the Permalink URL and open the map in
another tab, the map displays fine.
Moreover, it's easier to reproduce when I'm zooming in by double
clicking rather than using the zoom mouse bar.
Here are some broken URLs:
http://maps.freemap.co.il/api/map/tile.php?map=Israel&g=all&i=PNG24&t=-32384&l=34432&s=300000
http://maps.freemap.co.il/api/map/tile.php?map=Israel&g=all&i=PNG24&t=-32640&l=34432&s=300000
http://maps.freemap.co.il/api/map/tile.php?map=Israel&g=all&i=PNG24&t=-32640&l=34688&s=300000
http://maps.freemap.co.il/api/map/tile.php?map=Israel&g=all&i=PNG24&t=-32640&l=34944&s=300000
As you can see the numbers do not divide by 256 (which is the tile size).
Here's the Permalink (which displays fine):
http://www.freemap.co.il/api/?lat=31.25793&lon=34.60124&zoom=3
I have pre-cached tiles for this map up to the scale of 30,000
(inclusive). In order to make sure that OpenLayers use these
pre-generated tiles I have disable new tiles generation.
Any ideas?
Thanks,
--
Ehud Shabtai
http://www.freemap.co.il/map/
More information about the Users
mailing list