[OpenLayers-Dev] ESRI and OpenLayers
Matt Priour
mpriour at kestrelcomputer.com
Fri Mar 6 09:12:33 EST 2009
Yes, I'm doing an example.
The problem last time was that the tile URL was calculated based on the
upper left corner of the bounds. If the OL Map grid and the tile grid were
off by even 0.00001 units, certain tiles would get repeated, others skipped.
The behavior was very unpredictable but worse at closer zoom levels and
projected grids with large coordinate values.
My version uses the bound center which avoids those issues.
Matt Priour
Kestrel Computer Consulting
--------------------------------------------------
From: "Christopher Schmidt" <crschmidt at metacarta.com>
Sent: Friday, March 06, 2009 7:18 AM
To: "Matt Priour" <mpriour at kestrelcomputer.com>
Cc: <dev at openlayers.org>
Subject: Re: [OpenLayers-Dev] ESRI and OpenLayers
> On Tue, Mar 03, 2009 at 11:51:08AM -0800, Matt Priour wrote:
>>
>> I was going to prepare unit tests for the ArcGISCache layer today. Since
>> it
>> inherits directly from TMS and only overwrites:
>> intialize
>> clone
>> getTileUrl
>>
>> are these the ONLY functions which require testing. Or should I also test
>> all the same test that are in the tests/Layers/TMS.html
>
> This seems reasonable to me -- testing only the changed functions.
>
> Also, one thing I'd really like to see is an example, including, if
> possible, how it was set up -- last I remembere there was soe problem
> with describing how the grid got set up or something like that.
>
> Thanks,
> --
> Christopher Schmidt
> MetaCarta
More information about the Dev
mailing list