|
ColdFusion 9.0 Resources |
cfmapitemDescriptionThe cfmapitem tag is a child tag of the cfmap tag. This tag creates markers on the map. You can specify the marker in a map using either the cfmapitem tag or using the ColdFusion.Map.AddMapMarker JavaScript API. See ColdFusion.Map.addMarker for details. CategorySyntax<cfmapitem
address="address"
latitude="latitude in degrees"
longitude="longitude in degrees"
markercolor="marker color"
markericon="icon path "
markerwindowcontent="content"
name="name of the map"
showmarkerwinodw=""true|false"
tip="marker tip" />
HistoryColdFusion 9: Added this tag. Attributes
UsageThis tag must be used within the cfmap tag. The following inheritance rules apply:
Examples<h3>cfmapitem example using latitude and longitude attributes</h3>
<cfmap name="gmap01"
centerlatitude="71.094224"
centerlongitude="42.339641"
doubleclickzoom="true"
overview="true"
scrollwheelzoom="true"
showscale="true"
tip="My Map"
zoomlevel="4">
<cfmapitem name="marker01"
latitude="70.50"
longitude="42.50"
tip="New marker"/>
<h3>cfmap Example using address address</h3>
<cfmap name="gmap02"
centerlatitude="71.094224"
centerlongitude="42.339641"
doubleclickzoom="true"
overview="true"
scrollwheelzoom="true"
showscale="true"
tip="My Map"
zoomlevel="4">
<cfmapitem name="marker02"
address="345 Park Avenue, san jose, CA 95110-2704, USA"
tip="New marker"/>
|