The MapTips type exposes the following members.

Constructors

  NameDescription
MapTips

Methods

  NameDescription
addGraphics
Associates a maptip with the given graphic feature.
adjustHeight
Adjusts the height of the maptip content to fit the mapwindow and/or the maxheight.
collapse
Collapses the callout.
createTemplate
Creates and returns the maptip template. Override this method to change the layout.
dispose
Disposes the maptips.
expand
Expands the callout.
initialize
removeGraphics
Removes the maptip from the given graphic feature.
setContent
Sets the content of the maptip
setPosition
Sets the position of a maptip manually using map units.

Properties

  NameDescription
animate
Gets or sets whether the maptip should animate on show/hide.
autoHide
Enables or disables the autohide functionality.
callout
Gets the callout instance used by the mapti
contentTemplate
Gets or sets a content template used to format an attributes collection when the maptips is expanded.
expandOnClick
Gets or sets whether the callout will expand when you click it.
hoverTemplate
Gets or sets a hover template used to format an attributes collection when the mouse hovers on a GraphicFeature.
isExpanded
Gets the expanded state of the maptip.
layout
maptipContentID
Gets the client id of the maptip content.
maptipTitleID
Gets the client id of the maptip title.
maxheight
Gets or sets the expanded maximum height of the content of the maptip.
showOnHover
template
width
Gets or sets the width of the content of the maptip.

Events

  NameDescription
collapsed
Raised when the maptip collapses.
expanded
Raised when the maptip expands.

See Also