Comments (6)
Hi. I'm quite busy at the moment, but will look into implementing it as soon as I have time 👍
from react-native-google-maps-directions.
@tugrulcan i have made a PR now it supports waypoints , awaiting approval ...
from react-native-google-maps-directions.
I've implemented my version using yours. It generates the following url: http://maps.google.com/maps?saddr=38.43882333333333,27.202935000000004&daddr=1901.%20Sk.%20No:43,%20Saruhan%20Mahallesi,%2045010%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:Oktay%20Erol%20Pulcuo%C4%9Flu%20Cd.%20No:8,%2045030%20Ke%C3%A7ilik%C3%B6y%20Osb/Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:Manisa%20TOK%C4%B0%20Konutlar%C4%B1%20No:3,%20Uncubozk%C3%B6y%20Mahallesi,%2045030%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:5619.%20Sk.%20No:2,%20Ke%C3%A7ili%20K%C3%B6y%20Mahallesi,%2045030%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:Vali%20Azizbey%20Cd.%20No:34,%2075.%20Y%C4%B1l%20Mahallesi,%2045030%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:43.%20Sk.%20No:23,%20Turgut%20%C3%96zal%20Mahallesi,%2045040%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:308.%20Sk.%20No:130,%20Kaz%C4%B1m%20Karabekir%20Mahallesi,%2045040%20%C5%9Eehzadeler/Manisa,%20T%C3%BCrkiye+to:1803.%20Sk.%20No:7,%20%C3%87ar%C5%9F%C4%B1%20Mahallesi,%2045010%20Manisa%20Merkez/Manisa,%20T%C3%BCrkiye+to:Muradiye%20Mah.%20Manolya%20Sokak%20No:234%20Yunusemre%20-%20Manisa&dirflg=d
This generated url works on web browsers. But my problem occurs when I pass this url to Linking method.
Linking.openURL(url);
Google maps application does not opens the link as in browsers. Any idea about it?
from react-native-google-maps-directions.
@donovantc any thoughts?
from react-native-google-maps-directions.
Hey @tugrulcan,
is this the url that gets generated by this package?
When I try this url in the browser, it cannot find one of the points but I don't think that is the issue.
Could you share the data that you pass as a parameter to getDirections(data)
?
from react-native-google-maps-directions.
In 2.1.0
from react-native-google-maps-directions.
Related Issues (16)
- Does it work with waze as well? HOT 2
- Option for fallback HOT 1
- Trying to use custom latitude and longitude value from parameters HOT 3
- Auto Start Navigation HOT 2
- Duplicate code HOT 3
- Issue with displaying Dropped Pins on iOS13 HOT 3
- How to identify user reached on destination ? HOT 2
- Unsupported link when using more than one waypoint HOT 5
- Not opening in App HOT 2
- can't open maps HOT 3
- Typescript support
- Openin Url
- doesn't show directions
- Allow for empty source HOT 2
- It does not take dynamic data from api HOT 2
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-google-maps-directions.