Mapbox Map
An embedded map using MapBox to display latitude and longitude coordinates as points of interest. It supports custom markers using Emoji and symbols, default coordinates and zoom level, and GeoJSON to render custom shapes for highlighting locations.
Mapbox Map can trigger queries when panning or zooming the map, and on hover start or end for points.
Screenshot
A screenshot to illustrate the appearance of Mapbox Map.
Methods
Methods for interacting with Mapbox Map. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
NameDescriptionscrollIntoView(options: any)selectPoint(point: object)setMapCenter(center: object)
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Select the specified point using its coordinates
Set the map center on the specified point