Giter Site home page Giter Site logo

Comments (6)

tiaanduplessis avatar tiaanduplessis commented on May 22, 2024 2

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.

Aboukinane avatar Aboukinane commented on May 22, 2024 1

@tugrulcan i have made a PR now it supports waypoints , awaiting approval ...

from react-native-google-maps-directions.

tugrulcan avatar tugrulcan commented on May 22, 2024

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.

tiaanduplessis avatar tiaanduplessis commented on May 22, 2024

@donovantc any thoughts?

from react-native-google-maps-directions.

donovantc avatar donovantc commented on May 22, 2024

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.

tiaanduplessis avatar tiaanduplessis commented on May 22, 2024

In 2.1.0

from react-native-google-maps-directions.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.