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
locate
TBD
TBD
1.99
1999-12-31
BETA
Paul Spencer
DM Solutions Group Inc.
chameleon@lists.maptools.org
The Locate widget provides a dialog box that can be used to search for
postal codes, place names and NTS map sheets and zoom the map to one of
the results of the search.
This button provides the capability to find locations through a gazetteer service. It allows searching on Place or Feature names, Postal Codes (first three characters, or Forward Sortation Area, only), and NTS Map Sheet numbers. To find a place, type the name into the Place or Feature box and click Locate Place. The search results will be populated with any matches found. To zoom the map to show the feature, select it in the list and make sure the checkbox "Set map view to better see this location" is checked. To place a temporary label at the feature, check the checkbox "Add a point to this location".
ZOOMTOSCALE ="[integer]"
Hawaii Demo
http://www.mapsherpa.com/hawaii2/
The Hawaii Demo uses the latest 1.99 Chameleon version.
base
button
popup
ZOOMTOSCALE
integer
Widget Only
1
2147483647
The map scale to zoom to when the Locate widget to zoom to a location. A value between 250000 and 1000000 would be reasonable in most applications.
XML
Child Element to Chameleon widget tag (subtag)
Widget & Shared Resource
float
Widget & Shared Resource
LOCATE_ZOOM_TO
unknown
The geographic coordinates to zoom to when locating something
LOCATE_ADD_ELEMENT
unknown
Used to track the element that has been added to the map (point or rectangle)
LOCATE_LATLONG
unknown
The lat/long value to zoom to.
LOCATE_ELEMENT_TYPE
unknown
onClickLocate
Private
callback when the locate button is clicked
unknown
Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI.
LocateCB
Private
callback function to handle user input from the Locate dialog
actionID
string
wh
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.