instantnavi for Developers
This is a short overview how you can make use of your navigation.
Native App Development
A popular use case is to embed your navigation in a web view of a native iOS/Android app.
This way, you can provide your users a turn-by-turn navigation feature, without make them to leave your app.
There is a simple example for iOS developers to give you an idea how it works.
Web Development
You can link to your navigation from your website. Can be
Visit the preview page of your navigation, we set you up with QR codes and some banners you can use.
But of course, feel free to link it however you want.
Prerequisites
- You have created an instantnavi Account.
- You have created you own navigation.
In order to continue with this document, please register and create a navigation you want to use. It's free and only takes 2 mins.
URL Parameters
Once you created a navigation, you can easily customize it via its URL. For example to re-use one navigation for different destinations.
Let's just assume you created a Navigation with the URL slug
mynavi
, so it's reachable at
http://instantnavi.com/to/mynavi
Just append the following parameters on your Navigation URL to overwrite the default destination.
| URL-Parameter | Description | Note |
|---|---|---|
| destination[lat] | Set latitude of the destination | Required |
| destination[lng] | Set longitude of the destination | Required |
| destination[street] | Set street name of the destination | Optional |
| destination[street_number] | Set street number of the destination | Optional |
| destination[city] | Set the city name of the destination | Optional |
| destination[county] | Set the county name of the destination | Optional |
| destination[country] | Set the country of the destination | Optional |
Most Simple Example
http://instantnavi.com/to/mynavi?destination[lat]=49.9&destination[lng]=8.85
Passing Detailled Data
http://instantnavi.com/to/mynavi?destination[lat]=49.9&destination[lng]=8.85&destination[street]=HoheStrasse&destination[city]=Dieburg
Notes
-
Please do
not
use the example navi
mynavibut create your own . - We will not complete missing address data on our own!
