[OpenLayers-Users] OverviewMap in non wgs84 map

Tim Schaub tschaub at openplans.org
Wed Jul 25 12:41:22 EDT 2007


Hello-

Jachym Cepicky wrote:
> Hi,
> 
> I would like to add OpenLayers.Control.OverviewMap() control to the map
> object, however, it works wrong. For example, one can take
> layer-opacity.html from the examples directory:
>        


Please see the wiki page on the OverviewMap, specifically the section on 
custom projections[1].

You'll want to construct your overview map with some non-default 
options.  Set the mapOptions property of the options object as in the 
example, and you should get what you want.

Tim

[1] 
http://trac.openlayers.org/wiki/Control/OverviewMap#Customprojectionsextentsetc.



More information about the Users mailing list