Skip to content
Mapbox Pack Guide
Share
Explore

Search

Lookup by place name, address, or coordinates
This example takes a search query and returns the specified number of results (limit) with additional use of the StaticImage() formula to show visuals. You can also reverse geocode by entering a coordinate pair as a search query. The refresh table button is required to add/remove rows when you adjust the limit. The formula powering search can be found in the advanced parameter drop-down menu.
Copy this page

✅ Required
query
san francisco

refresh
refresh table
🤷 Optional
proximity
ip
language
en
country
US
types
address
+5
limit
00
3
🔮 Advanced

bbox
None
autocomplete
fuzzyMatch
routing
worldview
us
reverseMode
distance
formula
sanfrancisco


Search
San Francisco, California, United States
-122.41990637.779026
San Francisco International Airport, N McDonnell Rd, San Bruno, California 94128, United States
-122.38104737.617801
Ferry Building Marketplace, 1 Ferry Building, San Francisco, California 94111, United States
-122.3936472537.7952735



Screen Shot 2022-08-03 at 12.30.32 PM.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.