centeraddress
|
Required if centerlatitude and centerlongitude
are not specified
|
|
The address of the location, which is set
as the center of the map.
|
centerlatitude
|
Required if centeraddress is not specified
|
|
The latitude value for the location, in
degrees. This value is set as the center of the map.
This
attribute must be used with the centerlatitude attribute.
In
ColdFusion 9.0.1, the valid values for centerlatitude are
-90 to + 90
|
centerlongitude
|
Required if centeraddress is not specified
|
|
The longitude value for the location, in
degrees. This value is set as the center of the map.
This
attribute must be used with the centerlongitude attribute.
In
ColdFusion 9.0.1, the valid values for centerlongitude are -180
to +180.
|
collapsible
|
Optional
|
false
|
Whether to provide a collapsible property
for the surrounding panel:
If you set collapsible
to true, you cannot set hideborders to true.
|
continuouszoom
|
Optional
|
true
|
Whether to provide zoom control that enables
smooth zooming for the map:
|
doubleclickzoom
|
Optional
|
true
|
Whether to enable double-click zoom:
|
height
|
Optional
|
400 pixels
|
Height of the map, in pixels.
|
hideborder
|
Optional
|
true
|
Whether to hide border for surrounding panel:
If you set hideborder to
true, you cannot set collapsible to true.
|
initshow
Added in
ColdFusion 9.0.1
|
Optional
|
true
|
Use to show/hide a map when the page loads.
This
is useful if you have collapsible divs or collapsible spry regions,
where the user has to show the map on click of a link or button
|
markerbind
|
Optional
|
|
A bind expression to dynamically populate
data in the window that is opened when you click the marker icon.
The bind expression can specify a CFC function, a JavaScript function, or
a URL.
|
markercolor
|
Optional
|
|
The color of the marker specified as a hexadecimal
value.
By default, the centermarker is green in color.
The
attributes markericon and markercolor are
mutually exclusive.
|
markericon
|
Optional
|
|
Location of an image file to use as the
marker icon. The attributes markericon and markercolor are mutually
exclusive.
|
markerwindowcontent
|
Optional
|
|
Static content displayed in the marker window.
This attribute is mutually exclusive with the markerbind attribute.
|
name
|
Required
|
|
Name of the map.
The name attribute
is required to invoke JavaScript functions.
|
onerror
|
Optional
|
|
The JavaScript function to run when there
is a Google map API error.
The JavaScript function is passed
with two parameters, Google map status code and error message.
|
onload
|
Optional
|
|
Custom JavaScript function that runs after
the map loads, for instance, registering an event.
|
overview
|
Optional
|
false
|
Whether to add an Overview panel to the
map:
|
|
|
Optional
|
false
|
If set to true, displays
the marker window. If the attribute markerbind is
used, unless you set this attribute to true, the
marker window is not displayed.
This attribute is ignored
if markerwindowcontent is set to true.
|
scrollwheelzoom
|
Optional
|
true
|
Whether to enable mouse wheel zooming control:
|
showallmarkers
|
Optional
|
true
|
Whether to display all markers added to
the map:
When you specify showallmarkers as
true, to display all the markers within the map area, the zoom level
specified for the map may be overridden.
|
showcentermarker
|
Optional
|
true
|
Whether to display the marker icon that
identifies the map center:
|
showscale
|
Optional
|
false
|
Whether to show scale control:
|
tip
|
Optional
|
|
A short description of the center location
that appears as a tool tip.
|
title
|
Optional
|
|
Title of the panel.
You cannot define
a title, if you set hideborder to true.
|
type
|
Optional
|
map
|
|
typecontrol
|
Optional
|
basic
|
Whether to provide a type control that lets
you switch the map: basic: Displays the
marker types that provides the options map, satellite,
and hybrid.
none
advanced: Displays a drop-down list with
five options defined for the attribute type.
|
width
|
Optional
|
400 pixels
|
Map width, in pixels.
|
zoomcontrol
|
Optional
|
small
|
Whether to enable zoom control: none
small
large
large3d
small3d
|
zoomlevel
|
Optional
|
3
|
Specifies the starting zoom value.
|