[OpenLayers-Users] OverviewMap - outside div?

Jeff Dege jdege at korterra.com
Wed Jul 25 17:30:12 EDT 2007


> From: users-bounces at openlayers.org 
> [mailto:users-bounces at openlayers.org] On Behalf Of Tim Schaub
> Sent: Wednesday, July 25, 2007 3:42 PM
> To: users at openlayers.org
> Subject: Re: [OpenLayers-Users] OverviewMap - outside div?
> 
> Jeff Dege wrote:
> > But one thing I've noticed.
> > 
> > OverviewMap does not allow for this.  It only allows the 
> overviewmap to
> > be drawn over the map itself.
> > 
> 
> au contraire
> 
> http://trac.openlayers.org/wiki/Control/OverviewMap#Customlayout

Sorry to keep harping on this.  I am figuring things out.

When I attempted to set the 'div' option, I got a crash.  On
examination, it was because I had originally done a
OverviewMap.maximizeControl(), immediately after adding the control to
the map.  If outside the viewport, we don't have minimizeDiv or
maximizeDiv.  My fault.

I think I've pretty much got everything working, now.

Thanks for your help.



More information about the Users mailing list