This paper introduces MapAgent, a hierarchical multi-agent plug-and-play framework with a customizable toolset and agent-like architecture, specialized for geospatial tasks requiring complex reasoning, multi-stage planning, and real-time map interaction. Unlike existing uniform tool processing approaches, MapAgent decouples planning and execution, decomposing complex queries into subgoals and routing them to specialized modules. Specifically, dedicated map tool agents are designed for tool-dependent modules, such as map-based services, efficiently orchestrating relevant APIs in parallel to efficiently retrieve geospatial data.