Open this page in the API Guide

MapShape.getDisplayedText Method

Gets the tooltip text to be displayed when hovering over this shape.