gmap (RichFaces JSF components library Tag library documentation)
Keywords: $title

Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag gmap

It presents the google map in JSF applications

Tag Information
Tag Class | org.richfaces.taglib.GmapTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
enableContinuousZoom | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Enables continuous smooth zooming for selected browsers. Default value is "false".
enableDoubleClickZoom | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Enables zooming in by a double click. Default value is "false".
enableDragging | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Enables a map dragging with the mouse. Default value is "true".
enableInfoWindow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Enables Info Window. Default value is "true".
gmapKey | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Google Map key. A single Map API key is valid for a single "directory" on your web server. Default value is "internal".
gmapVar | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The JavaScript variable that is used to access the Google Map API. If you have more than one Google Map components on the same page, use individual key for each of them. The default variable name is "map" (without quotes).
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
lat | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Initial latitude coordinate in degrees, as a number between -90 and +90. Default value is "37.9721046".
lng | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Initial longitude coordinate in degrees, as a number between -180 and +180. Default value is "-122.0424842834".
locale | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Used for locale definition. Default value is "getDefaultLocale()".
mapType | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Initial map type. The possible values are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP. Default value is "G_SATELLITE_MAP".
onclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked
ondblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked
oninit | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code invoked just after the Google Map object is initiated.
onkeydown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed down
onkeypress | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed and released
onkeyup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is released
onmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is pressed down
onmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved within
onmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved away
onmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved onto
onmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is released
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
showGLargeMapControl | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Shows the GLarge control. Default value is "true".
showGMapTypeControl | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Shows the Type switch control. Default value is "true".
showGScaleControl | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | It shows the scale control. Default value is "true".
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
warningMessage | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The warning message that appears if a browser is not compatible with Google Map. Default value is "Your browser does not support Google Maps".
zoom | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Initial zoom level as a number between 1 and 18. Default value is "17".

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.