A lightweight Baidu Maps UI component library, providing place autocomplete, place search, detail display, and route planning capabilities.
When to use
- When you want to quickly integrate standardized map UI components without developing from scratch
- When you need to add search input box autocomplete functionality to a map application
- When you need to add place search functionality to a map application
- When you need to display POI detail information (name, address, phone, etc.)
- When you need to implement driving route planning functionality (supporting multiple routes and waypoints)
Documentation navigation
- Quick start - Installation, import methods, basic examples
- PlaceAutocomplete place autocomplete - Real-time suggestions in the search input box
- PlaceSearch place search - Keyword/nearby/bounds search
- PlaceDetail place details - POI detail display
- RoutePlan route planning - Driving route planning (multiple routes, waypoints, navigation launch)
How to use
Query the documentation navigation based on the user's question, and refer to the detailed documentation content and API design:
references/getting-started.md
Each reference file contains:
- Brief feature description
- Complete code examples and explanations
- API parameter descriptions and notes
Notes
- The Baidu Maps JS API (BMap or BMapGL) must be loaded first