-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a link to maps.me ? #6386
Comments
Hey @Paxa ! As for Android, It will be possible in the nearest release. You can prepare your side according to this documentation https://github.com/mapsme/api-android/wiki/Build-Route-and-Show-On-Map-via-Intent . Our old mechanism is not reliable, and I would suggest you to wait for next release (middle of July 2017). |
@alexzatsepin , does this mean will be able to solve #5507 ? |
@cordovapolymer Yes, it does. You will be able to launch MapsMe from external app using simple android intent mechanism describing here https://github.com/mapsme/api-android/wiki/Build-Route-and-Show-On-Map-via-Intent . It will be supported by MapsMe in the nearest release, keep it in mind please. |
@alexzatsepin Is there any intention to port this to the iOS version to enable launching via a URL scheme? |
@dpa99c As far as I know, this feature is already presented in IOS version. @VladiMihaylenko can you help with it? |
I had a look on the api-ios page and I didn't see any mention/examples of routing amongst the URL Scheme examples, so maybe it's currently undocumented? |
@dpa99c Yes, it's undocumented yet. @igrechuhin could you help with this? |
I don't need full documentation - just point me at the source code which defines the URL scheme for routing on iOS. |
@dpa99c in order to build routing via an URI you have to generate and open an URL
All parameters are required! Also, the order is required too.
Hope it helps. |
Thanks @VladiMihaylenko, that's exactly what I'm looking for. |
@dpa99c you're welcome! |
@alexzatsepin Just want to confirm: the iOS URL scheme supports specifying the name of start and destination via |
@VladiMihaylenko I've implemented the maps.me URL scheme for iOS in my LaunchNavigator plugin (currently on the dev branch). It is working fine and thanks for you help, and I'd like to offer a bit of constructive feedback:
|
@dpa99c I'll add |
@Paxa if you are running your app on cordova you can use https://github.com/dpa99c/phonegap-launch-navigator |
@cordovapolymer I can't find an URL that you use, can you point in a code or give some example? |
Hi there this is great info thanks!
|
Hi @gkitarp,
Yes and no. We added support of http links within MapsMe app, about a half of year ago. Since it started to allow a user openning http links (build route/ show on map) in MapsMe besides the Browser. But, as I know, on some Samsung devices there is the situation when a click on http links is supposed to be used ONLY in samsung browser, i.e. not chrome and not in your app. And I still don't know how to fix this weird behaviour on those devices. |
Trying to make link as in example: https://dlink.maps.me/search?query=food&locale=en_US&cll=34.233456,51.345672&map |
Any update for this ? |
We observe the app is currently sharing
All I could find was https://github.com/mapsme/ge0_url_decoder and https://github.com/mapsme/omim/tree/master/geocoder . Seems to be a in-house algorithm, not any published standard? |
@jidanni It is indeed an in-house algorithm, and a very simple one at that. The current version is at [0], in particular see [1] and [2]. Lines 11 to 20 in aab28bc
[2] Lines 86 to 103 in aab28bc
|
@vmihaylenko this URL scheme appears to no longer be working in recent versions of the MAPS.ME app on iOS (e.g. v14.6.1) Is there a new URL scheme which can be used to deep link to plan a route? |
I found ge0 url decoders for PHP and JS, but how to create ge0 link?
Is it possible to make it open a route dialog? If I create share link and then open in app, it just center to that point, I would like to have navigation dialog open automatically, e.g. https://www.google.com/maps/dir/Current+Location/-8.7817254,115.141128
I'm making web application with some custom points that may not exists in maps.me, and users can get direction there with different map apps.
I'm sorry if this question is in a wrong place
The text was updated successfully, but these errors were encountered: