Skip to content

CoPilotMgr

Note

All React Native methods are async functions.

CopilotMgr

Overview
Description A class containing static methods for setting and checking various CoPilot features and settings.
Supported on React Native Since Version 10.14

Methods

Method Name Return Type Description
getUnitsOfMeasure() (Android only) UnitsofMeasure Gets the UnitsOfMeasure displayed by CoPilot.
setUnitsOfMeasure(int) (Android only) void Sets the UnitsOfMeasure displayed by CoPilot.
getVersionInfo() CopilotVersion Returns a CopilotVersion object containing information about CoPilot’s application version number and map data version.
enableGPS() (Android only) void Restarts the CoPilot GPS Service and resumes all suspended GPS activities including listening, and processing.
disableGPS() (Android only) void Suspends background GPS/routing processing and deregister the CoPilot GPS Service. Background Navigation will not work after this API call.

Motion Lock

Motion Lock is a safety feature within CoPilot that limits a driver's access to the CoPilot UI while traveling above a threshold speed.

CoPilotMgr.setMotionLockMode

Overview
Description Motion Lock will lock the CoPilot UI once traveling above a specified speed. The UI can be locked down over a different range of modes, restricting more or less of the UI based on integration needs.

The threshold at which Motion Lock will be initiated should be set using setMotionLockSpeedThreshold. This API is just to set the lock mode, it’s not responsible for the actual lock to be activated.

Supported on React Native Since Version 10.14
Type Method

Syntax

void setMotionLockMode(motionLockMode)

Parameters

motionLockMode - The mode that you want CoPilot to lock down once motion lock has been initiated. This will dictate the available options once traveling above the specified threshold speed.

Return

None

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
const MotionLockMode = NativeModules.MotionLockMode;

CopilotMgr.setMotionLockMode(MotionLockMode.ALL_UI_LOCK);

CopilotMgr.getMotionLockMode

Overview
Description Returns the current Motion Lock mode. The mode dictates the extent to which the CoPilot UI will be locked down once initiated and traveling above the threshold speed. This will not return the threshold speed.
Supported on React Native Since Version 10.14
Type Method

Syntax

constant getMotionLockMode()

Parameters

None

Return Values

MotionLockMode

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
var mode = await CopilotMgr.getMotionLockMode();

CopilotMgr.getMotionLockSpeedThreshold

Overview
Description Returns the current speed threshold at which Motion Lock will be enabled. Motion Lock will lock the CoPilot navigation screen, preventing user input, when the vehicle’s speed reaches this threshold.
Supported on React Native Since Version 10.14
Type Method

Syntax

constant getMotionLockSpeedThreshold()

Parameters

None

Return Value

MotionLockSpeedThreshold - The speed above which Motion Lock is active.

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
var speed = await CopilotMgr.getMotionLockSpeedThreshold();

CopilotMgr.setMotionLockSpeedThreshold

Overview
Description Sets the threshold (in mph) for enabling and disabling Motion Lock. Motion Lock prevents user interaction with CoPilot while driving at or above a specified speed threshold.
The values for this API can be found in MotionLockSpeedThreshold.
Supported on React Native Since Version 10.14
Type Method

Syntax

void setMotionLockSpeedThreshold(motionLockSpeedThreshold)

Parameters

motionLockSpeedThreshold - The speed above which Motion Lock is active.

Return Values

None

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
const MotionLockSpeedThreshold = NativeModules.MotionLockSpeedThreshold;

CopilotMgr.setMotionLockSpeedThreshold(MotionLockSpeedThreshold.LEVEL_2);

CopilotMgr.getUnitsOfMeasure

Overview
Description Returns the measurement type currently set within CoPilot, metric or imperial. Units of Measurement are used for functions including speed, distance and vehicle dimensions.
Supported on React Native Since Version 10.14
Type Method
Measure Metric Imperial
Speed Kilometers per Hour (KPH) Miles per Hour (MPH)
Distance Kilometers, Meters, Centimeters Miles, Feet, Inches
Vehicle Dimensions Meters, Centimeters, Ton Feet, Inches, Ton, 000’s Pounds (US)

Syntax

constant getUnitsOfMeasure()

Parameters

None

Return Value

UnitsOfMeasure - Either METRIC or IMPERIAL units.

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
var unit = await CopilotMgr.getUnitsOfMeasure();

CopilotMgr.setUnitsOfMeasure

Overview
Description Sets whether metric or imperial values should be used within CoPilot. Units of Measurement are used for functions including speed, distance and vehicle dimensions.
Supported on React Native Since Version 10.14
Type Method
Measure Metric Imperial
Speed Kilometers per Hour (KPH) Miles per Hour (MPH)
Distance Kilometers, Meters, Centimeters Miles, Feet, Inches
Vehicle Dimensions Meters, Centimeters, Ton Feet, Inches, Ton, 000’s Pounds (US)

Syntax

void setUnitsOfMeasure(unitsOfMeasure)

Parameters

unitsOfMeasure - Either METRIC or IMPERIAL units.

Return Value

None

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
const UnitsOfMeasure = NativeModules.UnitsOfMeasure;

CopilotMgr.setUnitsOfMeasure(UnitsOfMeasure.METRIC);

CopilotMgr.getVersionInfo

Overview
Description Returns a JSON object (copilotversion), which includes details of the currently installed CoPilot application version number as well as the map data release (year and quarter).
Supported on React Native Since Version 10.14
Type Method

Syntax

JSONObject getVersionInfo()

Parameters

None

Return Value

A CopilotVersion JSON object containing information about the version of the CoPilot application and map data.

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
var cpVersion = await CopilotMgr.getVersionInfo();

CopilotMgr.enableGPS

Overview
Description Restarts the CoPilot GPS Service and resumes all suspended activities following the API call CopilotMgr.disableGPS(). CoPilot will register with the GPS receiver to initiate listening and processing the current position again.
Supported on React Native Since Version 10.14
Type Method

Syntax

void enableGPS()

Parameters

None

Return Value

void

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
CopilotMgr.enableGPS();

CopilotMgr.disableGPS

Overview
Description Attempts to minimize CPU usage by suspending background GPS/routing processing and unregistering the CoPilot GPS Service. Background navigation will not work after this API call; this will mean that your application cannot retrieve updated ETA or distance information.
Supported on React Native Since Version 10.14
Type Method

Syntax

void disableGPS()

Parameters

None

Return Value

void

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
CopilotMgr.disableGPS();

CopilotMgr.setConfigurationSetting

Overview
Description Applies a setting specified by the given ConfigurationSetting object.
Supported on React Native Since Version 10.14
Type Method

Syntax

void setConfigurationSetting(configurationSetting)

Parameters

A JSON Object that has key in ConfigurationName and value in ConfigurationValue

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
const ConfigurationName = NativeModules.ConfigurationName;
const ConfigurationValue = NativeModules.ConfigurationValue;

var configSetting = {};
configSetting.name = ConfigurationName.CHEVRON_DISPLAY;
configSetting.value = ConfigurationValue.CHEVRON_DISPLAY_LAT_LON;
CopilotMgr.setConfigurationSetting(configSetting);

CopilotMgr.getConfigurationSetting

Overview
Description Get the current settings for the given configuration.
Supported on React Native Since Version 10.14
Type Method

Syntax

JSONObject getConfigurationSetting(configurationName)

Parameters

configurationName - The configuration name for which to retrieve the current settings.

Return Value

A JSON object representing the current setting for the given configuration.

Sample Code

const CopilotMgr = NativeModules.CopilotMgr;
const ConfigurationName = NativeModules.ConfigurationName;

var config = await CopilotMgr.getConfigurationSetting(
  ConfigurationName.GPS_FREQUENCY
);
console.log(config.value);

Values

user.cfg section user.cfg config Type Name and Description
FlowTraffic FlowTrafficEnabled Bool FLOW_TRAFFIC_AVAILABILITY
Whether or not traffic is enabled
FlowTraffic DisplayTrafficBar Bool TRAFFIC_BAR_VISIBILITY
Whether or not to show the traffic bar
Application PlayWelcome Bool PLAY_WELCOME
Whether or not to play the welcome greeting when starting CoPilot. SayWelcome must also be on.
Speech VerboseSpeech Int VERBOSE_SPEECH
Whether or not to speak the full road name
Speech SpeakCalculatingRoute Bool SPEAK_CALCULATING_ROUTE
Speak calculating route
UserSettings ChevronDisplaySetting Int CHEVRON_DISPLAY
The information displayed below the chevron
UserSettings InfobarRightSideIndex Int INFO_BAR_RIGHT
The information to show in the right side info bar
UserSettings InfobarLeftSideIndex Int INFO_BAR_LEFT
The information to show in the left side info bar
UserSettings SayWelcome Bool SAY_WELCOME
Whether or not to play the welcome greeting when starting CoPilot. PlayWelcome must also be on.
UserSettings ShowArrivalPopup Bool SHOW_ARRIVAL_POPUP
Show a popup when arriving at your destination
UserSettings ApproachingStopDistHundredths Int APPROACHING_STOP_DIST_HUNDREDTHS
The distance at which to change the phrase "Arriving" to "Arrived"
UserSettings RouteSyncEnabled Bool ROUTE_SYNC_AVAILABILITY
Whether or not routesync is enabled
UserSettings AllowEnableCompliance Bool ALLOW_ENABLE_COMPLIANCE
Turn on route compliance
UserSettings WifiHotSpotToken String WIFI_HOTSPOT_TOKEN
An SSID token name for which to block map downloads on.
UserSettings RoutingSideStreetMileCostX1000 Int ROUTING_SIDE_STREET_MILE_X1000
The cost to apply for side of street routing. See values in below table.
UserSettings ShowCompliancePopup Bool SHOW_COMPLIANCE_POPUP
Whether or not to show the compliance popup.
UserSettings EditAcctSettings Bool EDIT_ACCOUNT_SETTINGS
Whether or not to display the Account IDs dialog.
UserSettings DisplayStopNameStyle Int DISPLAY_STOP_NAME_STYLE
How to display the stop name. Possible displays are name only, address only, or all information.
UserSettings ShowStopSide Bool STOP_SIDE_DISPLAY
Whether or not to display the stop side.
UserSettings EnableTurnAlert Int ENABLE_TURN_ALERT
Provides alerts ahead of navigation turn instructions
UserSettings SideOfStreetMatchType
Available in CoPilot 10.9.0.1180 and Higher
Int SIDE_OF_STREET_MATCH_TYPE
Determines whether to use the side of street provided by the address or by the latitude/longitude coordinates in the event that they return conflicting information.
UserSettings NavMessageDisplay
Available in CoPilot 10.9.0.1180 and Higher
Int NAV_MESSAGE_DISPLAY
Sets the type of banner to include at the top of all navigation views. (Default is no banner.)
UserSettings AllowInsertGPSStop
Available in CoPilot 10.9.0.1180 and Higher
Bool ALLOW_INSERT_GPS_STOP
When enabled (1), if the current GPS location is added to an existing trip, it will be added as the first stop WITHOUT replacing any stops. By default (0), CoPilot will replace the first stop with your current GPS location when you add it—if you have more than one stop.
FleetPortal DriverID String DRIVER_ID
Driver identification
FleetPortal DeviceID String DEVICE_ID
Device identification
FleetPortal PartnerID String PARTNER_ID
Partner identification
FleetPortal PostToFleetPortal Bool POST_TO_FLEET_PORTAL
Whether or not to post to fleet portal
SpeedAlerts EnableAdvancedAlerts bool ENABLE_ADVANCED_ALERTS
Enable advanced speed alerts
TruckWarnings DrivexactEnabled bool DRIVEXACT_ALERTS
Whether or not DrivExact alerts are enabled.
Graphics UseCustomDPI
Deprecated as of version 10.9.0.1049
Use getDPI
bool USE_CUSTOM_DPI
Whether or not to use custom DPI
Graphics CustomDPI
Deprecated as of version 10.9.0.1049
Use getDPI
Int CUSTOM_DPI
The value of custom DPI
GPS NumExtrapolationPts Int NUM_EXTRA_POLATION_PTS
The number of extra polation points
GPS SpeakArrivedAtDestinationInstr Int SPEAK_ARRIVED_AT_DESTINATION_INSTR
The value of speak arrived at destination
GPS Frequency Int GPS_FREQUENCY
Change to -1 for GPS logging
GPS Messages Int GPS_MESSAGED
Change for 255 GPS logging
GPSInfo LogGPSTracks bool LOG_GPS_TRACKS
Enable GPS logging
DataRequestManager NotificationInterval Int NOTIFICATION_INTERVAL
The interval, in MB, at which notifications of download progress will be sent via the onMapdataUpdate callback
Download ResumeOnStartup bool RESUME_DOWNLOAD_ON_STARTUP
Whether or not to resume partially complete map downloads on startup
Download WiFi Only Int MAP_DOWNLOADS_WIFI_ONLY
Setting to restrict ap downloads to only take place over WiFi
Optimization UniqueClusterStrictness Int UNIQUE_CLUSTER_STRICTNESS
Sets strictness for unique clustering within Optimization
HttpProxy Port Int HTTP_PROXY_PORT
Sets the port number of the http proxy setting. User can choose any port number to set.
HttpProxy Host String HTTP_PROXY_HOST
Sets the host IP address for the http proxy setting.
HttpProxy UserName String HTTP_PROXY_USERNAME
Sets the user name for the http proxy setting. User name will appear in the user.cfg file in the encrypted format.
HttpProxy Password String HTTP_PROXY_PASSWORD
Sets the password for the http proxy setting. Password will appear in the user.cfg file in the encrypted format.

Configuration Value and Name

Configuration Value Configuration Name
REQUIRE_ADDRESS_AND_LAT_LON_MATCH SIDE_OF_STREET_MATCH_TYPE
PREFER_ADDRESS SIDE_OF_STREET_MATCH_TYPE
PREFER_LAT_LON SIDE_OF_STREET_MATCH_TYPE
ADD_GPS_STOP ALLOW_INSERT_GPS_STOP
DO_NOT_ADD_GPS_STOP ALLOW_INSERT_GPS_STOP
FLOW_TRAFFIC_ENABLED FLOW_TRAFFIC_AVAILABILITY
FLOW_TRAFFIC_DISABLED FLOW_TRAFFIC_AVAILABILITY
TRAFFIC_BAR_SHOW TRAFFIC_BAR_VISIBILITY
TRAFFIC_BAR_HIDE TRAFFIC_BAR_VISIBILITY
PLAY_WELCOME_TRUE PLAY_WELCOME
DO_NOT_PLAY_WELCOME PLAY_WELCOME
SPEAK_CALCULATING_ROUTE_TRUE SPEAK_CALCULATING_ROUTE
DO_NOT_SPEAK_CALCULATING_ROUTE SPEAK_CALCULATING_ROUTE
CHEVRON_DISPLAY_NONE CHEVRON_DISPLAY
CHEVRON_DISPLAY_CURRENT_ROAD CHEVRON_DISPLAY
CHEVRON_DISPLAY_DESTINATION CHEVRON_DISPLAY
CHEVRON_DISPLAY_NEAREST_TOWN CHEVRON_DISPLAY
CHEVRON_DISPLAY_HEADING CHEVRON_DISPLAY
CHEVRON_DISPLAY_LAT_LON CHEVRON_DISPLAY
INFO_BAR_DISPLAY_ELEVATION INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_CURRENT_TIME INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_ETT INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_HEADING INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_SPEED INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_ETA INFO_BAR_LEFT, INFO_BAR_RIGHT
INFO_BAR_DISPLAY_DISTANCE INFO_BAR_LEFT, INFO_BAR_RIGHT
SAY_WELCOME_TRUE SAY_WELCOME
DO_NOT_SAY_WELCOME SAY_WELCOME
SHOW_ARRIVAL_POPUP_TRUE SHOW_ARRIVAL_POPUP
DO_NOT_SHOW_ARRIVAL_POPUP SHOW_ARRIVAL_POPUP
ROUTESYNC_ENABLED ROUTE_SYNC_AVAILABILITY
ROUTESYNC_DISABLED ROUTE_SYNC_AVAILABILITY
ENABLE_COMPLIANCE_TRUE ALLOW_ENABLE_COMPLIANCE
ENABLE_COMPLIANCE_FALSE ALLOW_ENABLE_COMPLIANCE
POST_TO_FLEET_PORTAL_TRUE POST_TO_FLEET_PORTAL
POST_TO_FLEET_PORTAL_FALSE POST_TO_FLEET_PORTAL
ENABLE_ADVANCE_ALERTS ENABLE_ADVANCED_ALERTS
DISABLE_ADVANCE_ALERTS ENABLE_ADVANCED_ALERTS
SIDEOFSTREET_OFF ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_MINIMAL ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_MODERATE ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_AVERAGE ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_STRICT ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_ADHERE ROUTING_SIDE_STREET_MILE_X1000
SIDEOFSTREET_STRONGADHERE ROUTING_SIDE_STREET_MILE_X1000
EDIT_ACCOUNT_SETTINGS_ENABLE EDIT_ACCOUNT_SETTINGS
EDIT_ACCOUNT_SETTINGS_DISABLE EDIT_ACCOUNT_SETTINGS
DRIVEXACT_ALERTS_ENABLE DRIVEXACT_ALERTS
DRIVEXACT_ALERTS_DISABLE DRIVEXACT_ALERTS
STOP_DISPLAY_ALL_INFORMATION DISPLAY_STOP_NAME_STYLE
STOP_DISPLAY_NAME_ONLY DISPLAY_STOP_NAME_STYLE
STOP_DISPLAY_ADDRESS_ONLY DISPLAY_STOP_NAME_STYLE
SHOW_STOP_SIDE STOP_SIDE_DISPLAY
HIDE_STOP_SIDE STOP_SIDE_DISPLAY
RESUME RESUME_DOWNLOAD_ON_STARTUP
DO_NOT_RESUME RESUME_DOWNLOAD_ON_STARTUP
TURN_ALERT_ENABLED ENABLE_TURN_ALERT
TURN_ALERT_DISABLED ENABLE_TURN_ALERT
WIFI_ONLY MAP_DOWNLOADS_WIFI_ONLY
ALL_CONNECTIONS_ALLOWED MAP_DOWNLOADS_WIFI_ONLY
UNIQUE_CLUSTER_STRICTNESS UNIQUE_CLUSTER_OFF
UNIQUE_CLUSTER_STRICTNESS UNIQUE_CLUSTER_ON
UNIQUE_CLUSTER_STRICTNESS UNIQUE_CLUSTER_ONLY
NAV_MESSAGE_DISPLAY_NONE NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_CURRENT_ROAD NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_DESTINATION NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_NEAREST_TOWN NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_HEADING NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_LAT_LON NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_NAME_ADDRESS NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_NAME_ZIPCODE NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_INSIGHTSTOP_NOTE NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_INSIGHTSTOP_CUSTOM NAV_MESSAGE_DISPLAY
NAV_MESSAGE_DISPLAY_CUSTOM_MESSAGE NAV_MESSAGE_DISPLAY
ADVANCED_ETA_CALCULATION_THRESHOLD
ADVANCED_ETA_HYSTERESIS
AT_RISK_THRESHOLD
CHEVRON_DISPLAY_NONE
CHEVRON_DISPLAY_CURRENT_ROAD
CHEVRON_DISPLAY_DESTINATION
CHEVRON_DISPLAY_NEAREST_TOWN
CHEVRON_DISPLAY_HEADING
CHEVRON_DISPLAY_LAT_LON
CHEVRON_DISPLAY_NAME_ADDRESS
CHEVRON_DISPLAY_NAME_ZIPCODE
CHEVRON_DISPLAY_INSIGHTSTOP_NOTE
CHEVRON_DISPLAY_INSIGHTSTOP_CUSTOM

StopBuilder

Overview
Description Builds stops using some of the optional parameters for creating stops. The basic workflow is:
1. Create a StopBuilder JSON object using one of the methods below.
2. Call the StopBuilder.geocode API to match the StopBuilder object to a location in the CoPilot map database.
3. Use the Stop JSON objects returned by StopBuilder.Geocode to add stops to your route.
Supported on React Native Since Version 10.14
Type Native Module

Methods

Method Name Return Type Description
fromLatLon(Coordinate) StopBuilder Method to create a StopBuilder from a latitude / longitude combination.
fromCountryAndPostalCode(String, String) StopBuilder Method to create a StopBuilder from a country and postal code combination.
fromCityAndState (String, String) StopBuilder Method to create a StopBuilder from a city and state combination.
geocode(GeocodeSearchType) JSON array of Stop objects Geocodes the address and returns the list of stops.
getNearbyStreets String Returns list of nearby streets relative to the coordinates passed to CoPilot, returned as StreetSearchResult

Sample Code

const StopBuilder = NativeModules.StopBuilder;
const GeocodeSearchType = NativeModules.GeocodeSearchType;

var latlon = {};
latlon.latitude = 40.36842;
latlon.longitude = -74.655036;
var stopBuilder = await StopBuilder.fromLatLon(latlon);
var stops = await StopBuilder.geocode(
  stopBuilder,
  GeocodeSearchType.BEST_MATCH
);

StopBuilder.Geocode(GeocodeSearchType)

Overview
Description Geocodes the address and returns the list of stops.
Supported on React Native Since Version 10.14
Type Method

Syntax

JSONArray geocode(stopBuilder, geocodeSearchType)

Parameters

A StopBuilder JSON object, which contains information about the stop.

geocodeSearchType - The type of geocode matching

Sample Code

const StopBuilder = NativeModules.StopBuilder;
const GeocodeSearchType = NativeModules.GeocodeSearchType;

var latlon = {};
latlon.latitude = 40.36842;
latlon.longitude = -74.655036;
var stopBuilder = await StopBuilder.fromLatLon(latlon);
var stops = await StopBuilder.geocode(
  stopBuilder,
  GeocodeSearchType.BEST_MATCH
);

StopBuilder.getNearbyStreets

Overview
Description Returns a list of nearby streets relative to the coordinates passed to CoPilot. All nearby street names within the configurable distance, set as a maximum of 1 mile, will be returned. The number of streets returned can be set up to a maximum of 10. Streets will be returned sorted in order of distance.
Supported on React Native Since Version 10.14
Type Method

Syntax

JSONArray getNearbyStreets(stopBuilder, distance, maxResults)

Parameters

A StopBuilder JSON object, which contains information about the stop.

distance- An int value for the maximum distance to return street names from. Maximum of 1 mile.

maxResults - An int value for the number of results to be returned. Maximum of 10.

Return Value

JSON Array of StreetSearchResult JSON objects

Sample Code

const StopBuilder = NativeModules.StopBuilder

var latlon = {};
latlon.latitude = 40.355233;
latlon.longitude = -74.604895;
var stopBuilder = await StopBuilder.fromLatLon(latlon);

var nearbyStreets = await StopBuilder.getNearbyStreets(stopBuilder, 5, 10)

Last update: August 24, 2020