[OpenLayers-Users] OverviewMap scale

Tim Schaub noreply at geocartic.com
Fri Dec 22 13:24:08 EST 2006


> How can I regulate descale of the OverviewMap control with a 
> non default projection.

To use the Overview Map control with non-default map options, you have to
use the latest (SVN or soon to be released 2.3) version.  If you don't do
SVN and can't wait for the release, you can download the source for just the
overview control from:
http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/O
verviewMap.js?format=raw  (overwrite your current OverviewMap.js with the
downloaded one)

Once you have the latest version, follow the instructions on the wiki for
using non-default map options (projections, maxExtent, etc.):
http://trac.openlayers.org/wiki/Control/OverviewMap

If you want more control over the zoom behavior of the overview map, see
that section on the same wiki page.  If you want still more custom behavior,
write back.

Tim




More information about the Users mailing list