To choose the version of Google Maps JavaScript API, jvmf:googleView
has
a property called apiVersion
. The default
value of this property is v2
to maintain
compatibility with earlier versions. To use V3 of the API, you can
specify v3
in the apiVersion
property
as shown in the following example:
<jvmf:googleView apiVersion="v3" .... />
When you choose to use Google Maps JavaScript API V3, you have the ability to show tooltips when
you hover over JViews static map
layers as shown in the following figure.
With Google Maps JavaScript API
V2, you must specify a key in jvmf:googleView
.
With V3 (JViews 8.8 or later) this
key is no longer necessary.
Note that the controls property has a different syntax
depending on the Google Maps JavaScript API
version that you have chosen.