Interact with Maps

View and interact with map axes and data


clrmenuAdd colormap menu to figure window
gcpmapCurrent mouse point from map axes
gtextmPlace text on map using mouse
inputmLatitudes and longitudes of mouse-click locations
maptoolAdd menu-activated tools to map figure
maptrimInteractively trim and convert map data from vector to raster format
mapviewInteractive map viewer
originuiInteractively modify map origin
paralleluiInteractively modify map parallels


Map ViewerView and explore data in map coordinates


Pick Locations Interactively

Interactive toolbox functions return latitude and longitude coordinates at the current mouse position or when you click a map with the mouse.

Interactively Display Text Annotations on a Map

You can interactively place text annotations by clicking on a map display.

Tour Boston with the Map Viewer App

The Map Viewer app is an interactive tool for browsing map data. You can assemble and organize geodata layers, render geodata in 2-D, identify coordinates, view data attributes, and annotate your map.

Work with Objects by Name

Map objects are frequently created with descriptive tags, or names. You can manage names, and control the display of groups of objects with similar names.

Featured Examples