[OpenLayers-Users] how-to calculate resolutions for custom tiles
Greg Donald
gdonald at gmail.com
Tue Dec 9 16:35:26 EST 2008
On Tue, Dec 9, 2008 at 2:48 PM, Christopher Schmidt
<crschmidt at metacarta.com> wrote:
>> and all my bounds are positive. I can't provide a (0, -1) image since
>> non exist.
>
> This may well be a rounding issue in OpenLayers. I'd be happy to take a
> look at a website demonstrating this problem: it may well be a problem
> in the lib rather than your app.
>
>> But if I don't set restrictedExtent: to something I get an ugly black
>> border around my entire map.
>
> Your tiles probably *have* a black border around them -- 403 doesn't
> divide into 256 evenly, so there has to be *some* color in the area
> outside the tiles...
Yeah, I'm getting black right now because I'm catching a missing data
error and rendering nothing :)
Here's a URL:
http://70.85.173.194/viewer/
The real data begins out to the right, about 200 pixels or so.
--
Greg Donald
http://destiney.com/
More information about the Users
mailing list