ALKMaps.Control.ViewportInfo

The ViewportInfo control displays geographic coordinates of the corners of the current viewport.

Inherits from

Summary
ALKMaps.Control.ViewportInfoThe ViewportInfo control displays geographic coordinates of the corners of the current viewport.
Properties
autoActivate{Boolean} Activate the control when it is added to a map.
element{DOMElement}
emptyString{String} Set this to some value to set when the mouse is outside the map.
Constructor
ALKMaps.ALKMaps.Control.ViewportInfo
Functions
destroy
activate
deactivate
draw{DOMElement}
redraw
reset

Properties

autoActivate

{Boolean} Activate the control when it is added to a map.  Default is true.

element

{DOMElement}

emptyString

{String} Set this to some value to set when the mouse is outside the map.

Constructor

ALKMaps.ALKMaps.Control.ViewportInfo

Parameters

options{Object} Options for control.

Functions

destroy

destroy: function()

activate

activate: function()

deactivate

deactivate: function()

draw

draw: function()

{DOMElement}

redraw

redraw: function(evt)

reset

reset: function(evt)
destroy: function()
activate: function()
deactivate: function()
draw: function()
{DOMElement}
redraw: function(evt)
reset: function(evt)
Controls affect the display or behavior of the map.
Close