[OSM-talk] Mapnik+OSM and TileCache
Christopher Schmidt
crschmidt at metacarta.com
Sun Nov 26 17:32:27 GMT 2006
On Sun, Nov 26, 2006 at 08:41:30AM -0800, Mikel Maron wrote:
> Nice work Chris
>
> Two thoughts..
>
> Looks like this demo auto-resizes in IE correctly .. can this solve the problem with OSM index-new.html?
> (sorry if this is already discussed, I missed some of that thread earlier)
>From IRC last night:
17:44 < crschmidt> There are a couple options. 1. make the left sidebar
a percentage based width, then use the rest of the page for the map.
This works in all browsers, but it means that people with Very Small
Resolutions could see a sidebar which is too small, and people wit hVery
Large Resolutions would see too much whitespace.
17:45 < crschmidt> 2. Use absolute positioning on the map div, with
'left', and 'right'. This doesn't work in IE
17:45 < crschmidt> 3. Use width: auto. This doesn't correctly work in
Safari or IE
17:45 < crschmidt> 4. Use javascript hackery. This can be made to work
in all browsers, but takes a bit more work.
This is a different case of 1 -- since we have no sidebar, we just use
100% width, and all is hunky dory.
> Also, am I correct understanding that the WMS-C spec itself can not support GoogleLike schemes,
> because the origin is in the upper-left, while WMS-C specifies that the origin is the lower-left?
> Anything we can do on that, to extend the spec for this?
You're thinking of TMS. WMS-C uses WMS-like requests with specific
bounding boxes. For TMS discussion, see the lists.eogeo.org tiling list,
being led by Paul Ramsey.
--
Christopher Schmidt
MetaCarta
More information about the talk
mailing list