[OpenLayers-Dev] OpenLayers.Strategy.Grid

Zac Spitzer zac.spitzer at gmail.com
Tue Jan 13 01:32:27 EST 2009


Hi Eric,

I just found that myself :)

how hard would it be to get this to produce TMS tile like urls with
the bbox as a parameter?

ie something along the lines of

/2/2/1.js?bbox=154.82048115388346,-36.127010141571624,156.97859137665813,-33.96889991879695

then having a .htaccess which triggers the generation of the file when
it doesn't exist

looks like once the url for the file path is calculated it just needs to be
passed as an extra option into requestFeatures ?

z

On Tue, Jan 13, 2009 at 5:21 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:
> Zac
>
> I'm glad you like it :-)
>
> You can try the following: in Strategy.Grid make the "value" of the
> created filter be an OpenLayers.Bounds instead of an
> OpenLayers.Geometry.Rectangle.
>
> Feel free to contact me again on the mailing list if you have further question.
>
> Cheers,
>
> Eric
>
> 2009/1/13, Zac Spitzer <zac.spitzer at gmail.com>:
>> I have been playing around with OpenLayers.Strategy.Grid from the
>> vector behavior sandbox
>> and it's really quite cool!
>>
>> I tried to add it in with the trunk but it seems there are some
>> additional mods else where beyond
>>
>> OpenLayers/Grid.js
>> OpenLayers/Strategy/Grid.js
>>
>> namely an error with  "options.filter.value.toArray is not a function"
>>
>> any tips?
>>
>>
>>
>>
>> --
>> Zac Spitzer -
>> http://zacster.blogspot.com
>> +61 405 847 168
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168



More information about the Dev mailing list