Main Content

Interact with Maps

Identify coordinates, display text, add data tips

Interactively identify the coordinates of a location, or display text on geographic axes and map axes. Add customized data tips to point, line, and polygon shapes. For geographic axes, you can add a basemap picker to the axes toolbar.

Functions

ginputIdentify axes coordinates
gtextAdd text to figure using mouse
datatipCreate data tip
dataTipTextRowAdd row to data tips
addToolbarMapButtonAdd map button to toolbar (Since R2021b)
removeToolbarMapButtonRemove map button from toolbar (Since R2021b)

Topics