Add location search to web projects with Mapbox Search JS
summary
Live demos install and use @mapbox/searchjs-core, @mapbox/searchjs-web and @mapbox/searchjs-react to call the Geocoding API (forward, reverse, suggest) and the Search Box API; one demo is a Node CLI that returns formatted address and coordinates, the other is a React + Mapbox GL JS app that wires a Mapbox Geocoder control and a Search Box POI control, syncs proximity state so pizza searches re-bias from New York to Boston, listens to suggest/retrieve events, supports custom search federation and theming via control theme API.
AI-written summary · about
chapters (6)
- 0:00Introduction and setup
- 1:11Mapbox search products overview
- 4:04Search.js SDK explained
- 6:35Core library demo
- 13:19Web and React demo
- 34:13Q&A session
related talks
01h 34mBuild a Web Map with Open Source Tools
18mBuilding Maps with Impact on React and the JAMstack
20mBuilding maps with Impact on React and the Jamstack
32m"A Developer's Guide to Open Source Web Mapping Libraries"
46mDiscovering 40 Geo-APIs in 40 Minutes
23m'OpenLayers: The Open Source Option of Adding Maps on Websites'
25mWeb Maps - Putting the M in Angular web apps!
28mIntegrating AI with Maps to generate Locations
