cfmap
9
3

Overview ColdFusion Open BlueDragon Lucee

Embeds a Google map within a ColdFusion web page

Attributes

Name Required Type Default Description
9
3
centeraddress No String The address of the location, which is set as the center of the map.
9
3
centerlatitude No Numeric The latitude value for the location, in degrees.
9
3
centerlongitude No Numeric The longitude value for the location, in degrees
9
collapsible No Boolean Whether to provide a collapsible property for the surrounding panel
9
3
continuouszoom No Boolean Whether to provide zoom control that enables smooth zooming for the map
9
displayscale No Boolean Whether to enable scale control
9
3
doubleclickzoom No Boolean Whether to enable double-click zoom
9
3
height No String Height of the map, in pixels
9
hideborder No Boolean Whether to hide border for surrounding panel
9
initshow No Boolean true Use this attribute to show a map on page load.
9
key No String The API key of the map.
9
markerBind No String Uses a bind expression to fetch markup to be displayed in the infowindow opened when the marker is clicked. This is mutually exclusive with the markerwindowtext attribute. This is inherited by all cfmapitem tags
9
3
markerColor No String Marker color in hexadecimal value.
9
3
markerIcon No String Location of the icon to use for the marker.
9
3
markerWindowContent No String Static inner html markup to be displayed in the infowindow opened when the marker is clicked. This is mutually exclusive with the markerbind attribute
9
3
name Yes String Name of the map.
9
3
onError No String 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.
9
3
onload No String Custom JavaScript function that runs after the map loads..
3
onnotfound No
9
3
overview No Boolean Whether to add an Overview panel to the map
9
scrollwheelzoom No Boolean true Whether to enable mouse wheel zooming control
10
showallmarkers No Boolean Flag to show or hide markers on the map
9
3
showCenterMarker No Boolean true Whether to display the marker icon that identifies the map center
9
showMarkerWindow No Boolean true When true, the marker infowindow is shown. By default, this is false. This is inherited by all cfmapitem tags.
10
showmarkerwinodw No Boolean Flag to show marker at the center location in the map
9
3
showScale No Boolean true Whether to show scale control
10
showuser No Boolean If true, the tag finds the geo location of the user and map is centered at that location
9
3
tip No String A short description of the center location that appears as a tool tip.
9
title No String Title of the panel
9
3
type No String Type of the Google map
9
3
typecontrol No String What type of typecontrol to provide. Basic inclueds "map, satellite, hybrid" and Advanced includes "map, satellite, hybrid, earth, terrain"
9
3
width No String Map width, in pixels.
9
3
zoomcontrol No String Whether to enable zoom control
9
3
zoomlevel No Numeric Specifies the starting zoom value