Displays a small overview map showing a zoomed out view of the current main map. This is always displayed in the lower right hand corner regardless of positioning requests.
| EMS. | Displays a small overview map showing a zoomed out view of the current main map. |
| Constants | |
| EVENT_TYPES | {Array} of event types handled by the overview map. |
| Properties | |
| closeable | {Boolean} flag indicating that the control can be opened and closed. |
| position | {EMS.Position} is the relative position that the control will render. |
| handleOpacity | {Float} is the amount of opacity given to the handle viewport. |
| ratio | {Integer} The ratio of size of the overview map compared with to the original map. |
| Constructor | |
| EMS. | |
| Functions | |
| destroy | Destroys the control. |
| draw | Constructs contents of the control. |
| show | Shows the overview map, expanding it out. |
| hide | Hides the overview map, making it contract to the edge of the map. |
| toggle | Either show or hide the overview map depending on it’s current state. |
| options | {Object} options to set on the overview map. These are an extension of EMS.Map options. |
Destroys the control.
destroy: function()
Constructs contents of the control.
draw: function( px )
Shows the overview map, expanding it out.
show: function()
Hides the overview map, making it contract to the edge of the map.
hide: function()
Either show or hide the overview map depending on it’s current state.
toggle: function()