Main Content

clearMap

Clear map visualizations

Description

clearMap(viewer) removes all visualizations from the map.

Examples

collapse all

  1. Launch a Site Viewer with streets basemap.

    viewer = siteviewer("Basemap","streets");

  2. View a transmitter site on this map.

    tx = txsite;
    show(tx)

  3. Clear the map.

    t = timer('TimerFcn',@(~,~)disp('Fired.'),'StartDelay',3);
    start(t)
    wait(t)
    clearMap(viewer)

Input Arguments

collapse all

Map viewer for visualizing transmitter or receiver sites, specified as a siteviewer object.[1]

See Also

|

Introduced in R2019a

[1] Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.