Skip to content

Navigation

Non-Visible component
Category Requires Version
Maps API 21, Android 5.0 Lollipop 2

Overview

A non-visible component that generates directions between two locations using a service called https://openrouteservice.org. Note: For this component to work correctly, provide a valid API key from that service.

Permissions

Events

Got Directions

Event triggered when the Openrouteservice returns the directions.

Params
directions List
points List
distance Number
duration Number

Methods

Request Directions

Request directions from the routing service.

Properties

API Key

Text ➖ Write - Designer Blocks

API Key for Open Route Service.

End Latitude

Number Default: 0.0 ➖ Read Write - Designer Blocks

The latitude of the end location.

End Location

Component ➖ Write - Blocks

Set the end location.

End Longitude

Number Default: 0.0 ➖ Read Write - Designer Blocks

The longitude of the end location.

Language

Text Default: en ➖ Read Write - Designer Blocks

The language to use for textual directions.

Response Content

Dictionary ➖ Read - Blocks

Content of the last response as a dictionary.

Start Latitude

Number Default: 0.0 ➖ Read Write - Designer Blocks

The latitude of the start location.

Start Location

Component ➖ Write - Blocks

Set the start location.

Start Longitude

Number Default: 0.0 ➖ Read Write - Designer Blocks

The longitude of the start location.

Transportation Method

Text Default: foot-walking ➖ Read Write - Designer Blocks

The transportation method used for determining the route.


Last update: November 9, 2022