English (en-ca)
2004-12-18
$id: $
Doc_Builder
DM Solutions Group Inc.
chameleon@lists.maptools.org
Christopher R. Thorne
DM Solutions Group Inc.
chameleon@lists.maptools.org
scalezoom
TBD
TBD
1.99
1999-12-31
BETA
Paul Spencer
DM Solutions Group Inc.
chameleon@lists.maptools.org
The ScaleZoom widget displays a series of preset scale buttons that the user
can use to quickly zoom in or out at predefined intervals. The intermediate
scales are defined using sub-tags as follows: <ZOOMVALUE SCALE="42000000"
IMAGE="images/zoom_h_1.gif" IMAGEWIDTH="14" IMAGEHEIGHT="22"/>. Any number
of zoomvalues are allowed, but there is likely a practical limit depending on
the images used.
These buttons provide the capability to quickly zoom the
map to a pre-defined scale value at the current center of the map view. The
scale values available are determined by the application designer. To change
to a new scale, click the appropriate Scale Zoom button.
WIDGETSTYLE ="[string]"
MAPID ="[string]"
INCREASEIMAGE ="[string]"
DECREASEIMAGE ="[string]"
INCREASETO ="[integer]"
DECREASETO ="[integer]"
ORIENTATION ="[string]"
CURRENTIMAGE ="[string]"
PUTTABLETAGS ="[boolean]"
Hawaii Demo
http://www.mapsherpa.com/hawaii2/
The Hawaii Demo uses the latest 1.99 Chameleon version.
base
button
WIDGETSTYLE
string
Widget Only
The CSS style to apply to this widget.
MAPID
string
Widget Only
The ID of the map to which this widget should apply its navigation.
INCREASEIMAGE
string
Widget Only
The image to use for the scale zoom increase button.
DECREASEIMAGE
string
Widget Only
The image to use for the scale zoom decrease button.
INCREASETO
integer
Widget Only
-2147483647
2147483647
DECREASETO
integer
Widget Only
-2147483647
2147483647
ORIENTATION
string
Widget Only
HORIZONTAL
VERTICAL
CURRENTIMAGE
string
Widget Only
PUTTABLETAGS
boolean
Widget Only
true
false
XML
Child Element to Chameleon widget tag (subtag)
Widget & Shared Resource
float
Widget & Shared Resource
NAV_CMD
unknown
The last command that was used to interact with the map
NAV_ALLOW_RECTANGLE
unknown
Tracks whether the current navigation tool uses a rubber-banding box or not.
SCALE_ZOOM
unknown
the scale to zoom to if the user changes the scale value and updates the map
NavSetActiveTool
Private
set the active navigation tool for a particular group of tools
oButton
string
aVals
string
unknown
Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI.
clickScaleValue
Private
szScale
string
unknown
Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI.
string
Private
Private
string
false
unknown
JSAPI function calls for this widget are outlined here.
string
false
PHP Mapscript
none
Error message string....
The description of what the message means......
Any possible solution that will help application developers troubleshoot and fix the problem.