[OpenLayers-Users] Synchronizing OL map with MapServer legend
Eric Lemoine
eric.c2c at gmail.com
Fri Sep 5 01:18:39 EDT 2008
Hi. Your approach sounds good to me. This is to be checked but I guess
your single-tile MapServer layer object has a ratio property, which
you could use to derive the extent. Cheers. Eric
2008/9/5, David Fawcett <david.fawcett at gmail.com>:
> I am pretty sure that I have it working now by calculating the extent
> of the tile requested by expanding the bounds of the viewPort by 25%
> in each direction and then using that bbox in my legend request.
>
> It would still be useful to get answers on my two questions to get
> confirmation on the approach.
>
> Thanks,
>
> David.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list