<< Click to Display Table of Contents >>

 

MagnifierBase (pParentElem, pMapBase, pTrans, diffLevel)

 

 

Description

The window object of magnifier tool

 

Position

Navigate.js

 

 

Parameters

 

Parameter

Description

pParentElem

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

pMapBase

The main map object

pLayer

The target layer object

pTrans

To set to use ScaleTransformation or CachedLevelTransformation object.

diffLevel

The level difference between magnifier and main map

 

 

Properties

 

Property

Description

none

none

 

 

Methods

 

Method

Description

Visible(Visib)

To show or hide the magnifier.

IsVisible()

To get the visibility of magnifier.

Hide()

To hide magnifier.

Show()

To show magnifier.

getMapBase()

To get main map object in magnifier.

ViewAt(dX, dY, bClearAll)

The map coordinate of center point of magnifier.

RebuildElement()

To rebuild magnifier.

UpdateElement(imgRatio)

To update the status of magnifier.

 

 


©2015 Supergeo Technologies Inc.