function nextmap

%NEXTMAP  Readies a map axes for the next object
%
%  NEXTMAP readies a map axes for the next map object.
%  If the hold state is off, NEXTMAP will also clear
%  the current map before the next object is displayed.
%
%  See also CLMA

%  Copyright 1996-1998 by Systems Planning and Analysis, Inc. and The MathWorks, Inc.
%  Written by:  E. Byrns, E. Brown
%   $Revision: 1.8 $    $Date: 1998/08/10 17:51:00 $


%  Clear the map, but not the frame,
%  if a hold on has not been issued

if ismap
     if strcmp(get(gca,'NextPlot'),'replace');    clmo('map');    end
end
