-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
Support geo:0,0?q=my+street+address links used in many Calendar apps #320
Comments
Looks like it's about geo:// url scheme (NOT ge0!). This should work on all platforms. |
This problem has been fixed a month of two again. Please update to the latest version. |
Indeed, it still does not work on the most recent Google Play version of the app. |
We should add parsing of the following URI: |
#1020 brought me here. I'd rather have Organic Maps handle those links instead of Googel Maps in my mobile browser. |
Yes, this is a know bug. No only on Calyx. ---- On Mon, 20 Sep 2021 16:06:54 +0300 ***@***.*** wrote ----
#1020 brought me here.
I'm using Organic Maps on a Pixel 4a with CalyxOS 2.9.0 (Android 11). Clicking an address in the default (stock Android?) Contacts app allows me to open that link in Organic Maps or my Browser. Opening it in Organic Maps does open the app but nothing happens afterwards (as described in #1020). Opening that link in my browser does reveal a link like this:
***@***.***,NUMBER,NUMBERz/data=! followed by a lot of cryptic values I have no clue what they could be about.
I'd rather have Organic Maps handle those links instead of Googel Maps in my mobile browser.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
This format is needed for Instagram. |
Hi there, I am seeing this same issue on LineageOS 19.1 with default contact program. Logcat shows the following,when i tap on address found under contact:
Where "Some Address Number, City, State" is entry found under contacts. For reference, OsmAnd~ (f-droid one) shows the same format in logs, the Naturally, address format may vary between programs and how you forma the data. Google contacts will offer to tap on given results after you type something in address field but you might use a different format. OsmAnd~ So the intent is the same but OrganicMaps are not opening addresses directly and not putting address string into search. One note here: since i dont use location by default, organic maps will prompt to enable that whenever i open the app. This same goes for opening a contact address. If there is anything else i can provide, please respond. |
another issue on this topic: #2468 |
#1361 brought me here. this time from the contacts app. this can be reproduced with this link intent://#Intent;package=app.organicmaps;scheme=om;end; from https://omaps.app/api |
The simplest fix could be converting the source url to our search api url mentioned here: https://omaps.app/api |
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Kyrenia%20Castle"' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Kyrenia%20Castle"' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Kyrenia%20Castle"' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com> Broken test cases: - om://map?v=1&ll=22.17319,-159.65687&n=Kalalau%20Camping&ll=22.17168,-159.66096&n=Dream%20Beach&ll=22.17182,-159.65776 - apiMark == nullptr - geo:0,0(Null%Island) - a crash in Hex::Decode
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Needed for #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
New URLs/APIs: - `geo:35.341714,33.32231` - show a point - `geo:35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:0,0?q=35.341714,33.32231` - show a point - `geo:0,0?q=35.341714,33.32231 (Custom%20Title)` - show a point with title - `geo:35.3381607,33.3290564?q=Kyrenia%20Castle` - search for something - `geo:0,0?q=Kyrenia%20Castle` - search for something Android testing: ``` adb shell am start -a android.intent.action.VIEW -d '"geo:35.3381607,33.3290564?q=Where%20to%20eat"' ``` iOS testing: ``` xcrun simctl openurl booted 'geo:35.3381607,33.3290564?q=Where%20to%20eat' ``` Closes #320 Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Hi!
On Android, when selecting text that contains an address, next to 'cut' and 'copy', there is a 'map' button. It should take you directly to the location in a map app. This seems to be a handy link. Android lets me choose between Google Maps and Organic Maps. When I choose the former, the location appears, but when I choose the latter, it opens and nothing else happens.
It would be nice to allow Organic Maps to accept this shortcut.
Cheers!
The text was updated successfully, but these errors were encountered: