A client-side JavaScript function that returns values to a Google Map control from client-side JavaScript control models. Typical use for this client-side JavaScript is to define value for the following script controls:
The following standard actions are available:
isDisabled:
true if the control is disabled; false if the control is enabled.isVisible:
true if the control is visible; false if the control is hidden.getValue:
gets the control's value.
getCoords:
(map or marker) gets the map's center or the marker's location as a string coordinate pair (for example, "37.0625;-95.677068").getLatitude:
(map or marker) gets the latitude of the map's center or the marker's location as a floating-point number (for example, 37.0625).getLongitude:
(map or marker) gets the longitude of the map's center or the marker's location as a floating-point number (for example, -95.677068).getZoom:
(map-only) gets the map's zoom level.getMapType:
(map-only) gets the map-type.getLabel:
(marker-only) gets the marker's ToolTip.getDescription:
(marker-only) gets the contents of the marker's information (bubble) windowisSelected:
(marker-only) true if the marker is selected; false if the marker is not
selected.Children
You can use the Control Reference control to specify multiple controls to get the value of.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.gmap.GMapGetValueScript |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.gmap.GMapGetValueScript |
Description | Script which returns the value of a client-side map property |
Palette Location | CAF Html/Control/Map/Return Map Value Script |
Name | Required | Type | Description |
---|---|---|---|
action | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Type of value to obtain
Valid values are:
|
control | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Target control to obtain value from |
event | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Client side event type to respond
Valid values are:
|
for | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| ID of control to which to apply this behavior |
id | false | java.lang.String | Control identifier |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
rowvariable | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Expression that resolves to the current row when using inside tables |
Output generated by Vdldoc View Declaration Language Documentation Generator.