# <cfmapitem>

Used with [<cfmap>](map.md), this tag lets you add markers on the map. This tag is [deprecated](../deprecated.md)

This tag **may** have a body.
This tag has no [<cfscript>](script.md) support or it uses a different syntax.

```
<cfmapitem
    name=string
    address=string
    latitude=string
    longitude=string
    tip=string
    markerWindowContent=string
    markerColor=string
    markerIcon=string
><!--- body ---></cfmapitem>
```

# Attributes

| Attribute | Type | Required | Description | Default |
|-----------|------|----------|-------------|---------|
| name | string | No |  |  |
| address | string | No |  |  |
| latitude | string | No |  |  |
| longitude | string | No |  |  |
| tip | string | No |  |  |
| markerWindowContent | string | No |  |  |
| markerColor | string | No |  |  |
| markerIcon | string | No |  |  |

# Examples

```cfml
<cfmap  centerlatitude    = "47.3769"
		centerlongitude    = "8.5417"
		type            = "satellite"
		zoomlevel        = "4"
		width            = "300"
		height            = "300">
	<cfmapitem name="Berlin" latitude="52.5200" longitude="13.405" tip="Berlin"/>
	<cfmapitem name="Zurich" latitude="52.5200" longitude="13.405" tip="Zurich"/>
</cfmap>
```








# Categories

[Ajax features](../../categories/ajax.md)

# See Also

[<cfmap>](map.md)