Spec-Zone.ru › ColdFusion

cfmapitem

This tag creates markers on the map.

<cfmapitem>

cfmapitem();

This tag requires Adobe ColdFusion 9 and up. Not supported on Lucee, etc.

Discouraged: The use of tags generating UI is generally discouraged by the CFML community. See: https://static.raymondcamden.com/cfuitherightway/cfmap/index.html

  • CF9+
  • See Also: cfmap

    Attribute Reference

    longitude string

    The longitude value for the marker, in degrees.

    address string

    The address of the location to set the map marker.

    tip string

    A short description of the marker location that appears as a tool tip.

    latitude string

    The latitude value for the marker, in degrees.

    name string

    The name of the map.

    showMarkerWindow boolean
    Default: true

    When true, the marker infowindow is shown. By default, this is false. This is inherited by all cfmapitem tags.
    Values:
    • true
    • false

    markerWindowContent 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

    markerIcon string

    Location of an image file to use as the marker icon. The attributes markericon and markercolor are mutually exclusive.

    markerColor string

    Indicates the color of the marker.

    Examples
    Sample code using the cfmapitem tag

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/cfmapitem

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API