mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-16 04:58:53 +08:00
fix: fix options params
This commit is contained in:
parent
9e17e25427
commit
c71f8d49e1
@ -6,43 +6,43 @@ export interface launchNavigatorOptions {
|
|||||||
* iOS, Android, Windows
|
* iOS, Android, Windows
|
||||||
* If true, the plugin will NOT attempt to use the geolocation plugin to determine the current device position when the start location parameter is omitted. Defaults to false.
|
* If true, the plugin will NOT attempt to use the geolocation plugin to determine the current device position when the start location parameter is omitted. Defaults to false.
|
||||||
*/
|
*/
|
||||||
disableAutoGeolocation? : boolean,
|
disableAutoGeolocation : boolean,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* iOS, Android, Windows
|
* iOS, Android, Windows
|
||||||
* Transportation mode for navigation: "driving", "walking" or "transit". Defaults to "driving" if not specified.
|
* Transportation mode for navigation: "driving", "walking" or "transit". Defaults to "driving" if not specified.
|
||||||
*/
|
*/
|
||||||
transportMode? : string,
|
transportMode : string,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* iOS
|
* iOS
|
||||||
* If true, plugin will attempt to launch Google Maps instead of Apple Maps. If Google Maps is not available, it will fall back to Apple Maps.
|
* If true, plugin will attempt to launch Google Maps instead of Apple Maps. If Google Maps is not available, it will fall back to Apple Maps.
|
||||||
*/
|
*/
|
||||||
preferGoogleMaps? : boolean,
|
preferGoogleMaps : boolean,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* iOS
|
* iOS
|
||||||
* If using Google Maps and the app has a URL scheme, passing this to Google Maps will display a button which returns to the app.
|
* If using Google Maps and the app has a URL scheme, passing this to Google Maps will display a button which returns to the app.
|
||||||
*/
|
*/
|
||||||
urlScheme? : string,
|
urlScheme : string,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* iOS
|
* iOS
|
||||||
* If using Google Maps with a URL scheme, this specifies the text of the button in Google Maps which returns to the app. Defaults to "Back" if not specified.
|
* If using Google Maps with a URL scheme, this specifies the text of the button in Google Maps which returns to the app. Defaults to "Back" if not specified.
|
||||||
*/
|
*/
|
||||||
backButtonText? : string,
|
backButtonText : string,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* iOS
|
* iOS
|
||||||
* If true, debug log output will be generated by the plugin. Defaults to false.
|
* If true, debug log output will be generated by the plugin. Defaults to false.
|
||||||
*/
|
*/
|
||||||
enableDebug? : boolean,
|
enableDebug : boolean,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Android
|
* Android
|
||||||
* Navigation mode in which to open Google Maps app: "maps" or "turn-by-turn". Defaults to "maps" if not specified.
|
* Navigation mode in which to open Google Maps app: "maps" or "turn-by-turn". Defaults to "maps" if not specified.
|
||||||
*/
|
*/
|
||||||
navigationMode? : string,
|
navigationMode : string,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user