<< Click to Display Table of Contents >>

 

Overview (pParentElem, pTargetMapBase, pTrans, WndWidth, WndHeight, diffScale)

 

 

Description

The overview object

 

Position

Overview.js

 

 

Parameters

 

Parameter

Description

pParentElem

The webpage DOM Container Object in which the map content is built, is usually div element but it can be span or other similar container objects as well.

pTargetMapBase

The corresponding main map object

pTrans

To set to use ScaleTransformation or CachedLevelTransformation object.

WndWidth

The width of overview dialog

WndHeight

The height of overview dialog

diffScale

The scale difference between the overview and the main map

 

 

Properties

 

Property

Description

none

none

 

 

Methods

 

Method

Description

FinalRelease()

The destruction function of overview object removes the overview from the webpage and clears all the webpage elements.

CenterXY()

The XY coordinate of center point of overview object

SelectAreaHide()

To set to hide the overview window.

SelectAreaShow()

To set to show the overview window.

getTarget()

To get the corresponding main map.

getMapBase()

To get the overview map.

UpdateElement()

To update the content of the overview index.

RebuildElement()

To rebuild the overview information.

 

 


©2015 Supergeo Technologies Inc.