I have used the Navigation Component in the MIT AI2 but I create much in Kodular And thought that it would be possible to use it here using the web component but every time it requests that API it results in Error. So tried to make an extension using the app inventor sources, but failed. (I know very little about JAVA).
There Are Many Great Extention Developers here in The Community. So, please try to make the Extention. That would be much helpful, appreciated and unique too…
This file has been truncated.
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2019 MIT, All rights reserved
// Released under the Apache License, Version 2.0
import static com.google.appinventor.components.runtime.util.GeometryUtil.isValidLatitude;
import static com.google.appinventor.components.runtime.util.GeometryUtil.isValidLongitude;
import static com.google.appinventor.components.runtime.util.YailDictionary.ALL;
import static java.util.Arrays.asList;
Now Everyone can use this extension
OpenRouteService Navigation Extension
The Navigation extension generates directions between two locations using a service called OpenRouteService. You must provide a valid API key from that service in order for this extension to work.
[image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image] [image]
Documentation to use this extension
Available Here Navigation Extension Docs