[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #686: Treat Google Layer as projected data

Christopher Schmidt crschmidt at metacarta.com
Mon Sep 3 10:20:05 EDT 2007


On Mon, Sep 03, 2007 at 10:53:40AM +0930, Andrew Hughes wrote:
> Sounds good to me!
> 
> Just a consideration here... is there any way to easily limit the maxExtent
> of commercial coverage? Because I can see the zoom levels and the max/min
> resolutions... but this does not limit the coverage, just the scale of
> the 'entire
> earth'*. I know that people would really need to pick a maxExtent that is
> relative to the 900913 grid.  I'm sure calculating this is most certainly
> possible, just wondering if this option could be addressed with the proposed
> API in the future. I think it can, but I'd like the clarification of others.

Should work in the normal way, with a maxExtent: new OL.Bounds() in the
map options.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list