views:

22

answers:

1

In the map i created in openlayers, OverviewMapControl is basically useless from zoom levels 0-3 - the red "extent" rectangle just fills the entire OverviewMapControl and can't actually be used to drag the map more then a very minuscule amount. ie. the draggable rectangle would not resize regardless of the zoom level. Can any one help me with this?

Thanks in advance

A: 

Custom Zoom Behavior probably has the information you're looking for; {minRatio: 1, maxRatio: 1} as options to your map constructor might do what you want.

Christopher Schmidt
http://dev.openlayers.org/sandbox/hhudson/addins/InlineXhtml/trunk/examples/example6.htmPlease look this example. The overview map for this would be zoomed in to start with instead of showing the whole map
RamK
Since the URL you gave doesn't appear to have any OverviewMap in it, I'm not sure what you're trying to show.
Christopher Schmidt