Comments (4)
In most cases, you are not required to specify those, they are optional.
from react-native-map-link.
Thank you for your response @tschoffelen. Yes you are right they are optional, But what I suggest is setting the devices current location for it would be more useful. Then the user can simply click the Directions and found best route. This is my own suggestions for improvement. Please feel free to close this issue if it is not acceptable in this place 😊
from react-native-map-link.
I see what you mean. The reason we don't do that at the moment is that it would make the library more difficult to use, because:
- You'd always need to ask permission to use the user's location if you want to use this library.
- There would be a delay between the user pressing the button and actually opening the directions app, since getting the user's current location is an asynchronous task.
And since most apps that you can open with the maps link already assume you want directions from your current location, I don't think this is something we should add ourselves.
from react-native-map-link.
I agree with you @tschoffelen. Thanks for your valuable comments and you time. I will close this issue.
from react-native-map-link.
Related Issues (20)
- yandex maps is not available HOT 1
- [Android] Moovit app is not detected HOT 7
- App icon images are circles instead of original design HOT 4
- apple maps does not start navigation in turn by turn mode, rather it shows 'top down' navigation HOT 4
- It displays wrong navigating address name. HOT 1
- It is showing 'Dropped Pin' on Google Maps using iOS. HOT 1
- Android 13 not showing uber, waze HOT 2
- Biking Directions Mode not working on Apple Maps HOT 1
- Uber title not encoded when in display HOT 4
- Can anyone confirm that truckmap shows up as an option in the default modal? HOT 2
- There is no images folder in lib node_modules HOT 2
- GetAppResult type export missing. HOT 7
- ShowLocationProps type export missing in v3 HOT 4
- Popup component is not exported HOT 4
- Missing apps: Doesn't detect all installed apps HOT 6
- `googlePlaceId` no longer exists in version 3 HOT 3
- [Bug Report] the PopupProps type are duplicated and inconsistent HOT 1
- Cannot use `address` prop. HOT 3
- Using Source Location options causes google maps to close HOT 1
- Using showLocaiton links straight to maps HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-map-link.