Page 1 of 1

New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Wed Oct 20, 2021 11:28 pm
by DaveM
You have recently added "Bing Maps" and "Apple Plans" to the Open with URL's. These items are not in your documentation for user_settings.conf. It was easy to figure out the corresponding setting name for Bing

Code: Select all

map.coordinates.openwith_provider.bing=
but I can't figure it out for Apple Plans. Could you help?

I also have a request for additional functionality with regard to redefining the open with URLs. I personally don't find any of the predefined URLs useful, so I have them all redefined. The problem is that except for the one that I use all the time, the weather forecast, it is sometimes hard to remember which item points to the URL that I want. It would be great if you could add items to user_settings.conf to redefine the label for each URL as well. So one could add something like the following to user_settings.conf

Code: Select all

map.coordinates.openwith_provider.osm=https://www.trailforks.com/trails/map/?activitytype=1&z={$zoom}.0&lat={$latitude}&lon={$longitude}
map.coordinates.openwith_provider.osm.label=TrailForks
map.coordinates.openwith_provider.yandex=https://forecast.weather.gov/MapClick.php?lon={$longitude}&lat={$latitude}
map.coordinates.openwith_provider.yandex.label=NWS Weather
map.coordinates.openwith_provider.google=http://myserver.redacted.com/cgi-bin/recordlocation?lat={$latitude}&lng={$longitude}&type=mark
map.coordinates.openwith_provider.google.label=Leave Mark
Being able to redefine the icon as well would be an awesome bonus, but just being able to redefine the labels would be enough.

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Thu Oct 21, 2021 8:11 am
by Psyberia-Support
Hi Dave,
I think what you need is actually the ability to add custom items (with label and url) instead of redefining existing ones.
The current user settings allows you to tweak a little the urls used for each map providers, but are not meant to be used with another complete url.

So I've added a new user setting that will be available in the next beta update (should be in a few days), that will better suit your needs, here is what you'll have to add:

Code: Select all

map.coordinates.openwith.provider.custom=TrailForks|https://www.trailforks.com/trails/map/?activitytype=1&z={$zoom}.0&lat={$latitude}&lon={$longitude}
map.coordinates.openwith.provider.custom=NWS Weather|https://forecast.weather.gov/MapClick.php?lon={$longitude}&lat={$latitude}
map.coordinates.openwith.provider.custom=Leave Mark|http://myserver.redacted.com/cgi-bin/recordlocation?lat={$latitude}&lng={$longitude}&type=mark
You can add up to 10 custom items.
Hope it will help.

ps: I've updated the user settings help page to include Bing and Apple maps settings.

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Fri Oct 22, 2021 1:59 pm
by DaveM
The custom providers will be fantastic. I will not have the opportunity to try it for about a week and a half. I'm going on a trip where I will sometimes be relying on Alpine Quest so proven reliability takes precedence over new features. I look forward to trying it when I get back. By the way, Alpine Quest saved me from some unpleasantness on this trip last year.

As far as redefining the current providers

Code: Select all

 map.coordinates.openwith.provider.apple 
does not seem to work. In addition in the documentation the label is listed as "Apple Maps". In the app (2.2.9) I have an open with item listed as "Apple Plans". I was assuming these are the same.

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Sun Oct 24, 2021 9:25 am
by Psyberia-Support
Absolutely there is a problem with the open with Apple Plans user setting (this is indeed a typo in the user settings help page, I've corrected this).
This will be fixed in the next update, until then you can use this setting: "map.coordinates.share.provider.apple="
And don't worry for the testing, it's of course better not to use the beta version is you need a stable version.

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Mon Oct 03, 2022 3:38 pm
by alexlong
Psyberia-Support wrote: Thu Oct 21, 2021 8:11 am So I've added a new user setting that will be available in the next beta update (should be in a few days), that will better suit your needs, here is what you'll have to add:

Code: Select all

map.coordinates.openwith.provider.custom=TrailForks|https://www.trailforks.com/trails/map/?activitytype=1&z={$zoom}.0&lat={$latitude}&lon={$longitude}
map.coordinates.openwith.provider.custom=NWS Weather|https://forecast.weather.gov/MapClick.php?lon={$longitude}&lat={$latitude}
map.coordinates.openwith.provider.custom=Leave Mark|http://myserver.redacted.com/cgi-bin/recordlocation?lat={$latitude}&lng={$longitude}&type=mark
Hi, François. I can not find it in the user settings list.

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Mon Oct 03, 2022 3:59 pm
by alexlong
If I would like to open the the placemark with Yandex.Navigator for Android what should I use?

The address is like this for example (I took it from Yandex.Navigator sharing the place).

Code: Select all

https://yandex.ru/navi/?whatshere%5Bpoint%5D=37.636708%2C55.755980&whatshere%5Bzoom%5D=18&lang=ru&from=navi
The string

Code: Select all

map.coordinates.openwith.provider.custom=Яндекс.Навигатор|https://yandex.ru/navi/?whatshere%5Bpoint%5D={$longitude}&lat={$latitude}
does not work. May be I do something wrong?

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Tue Oct 04, 2022 8:30 pm
by Psyberia-Support
Hi Alex,
This should work (not tested):

Code: Select all

map.coordinates.openwith.provider.custom=Яндекс.Навигатор|https://yandex.ru/navi/?whatshere%5Bpoint%5D={$longitude}%2C{$latitude}&whatshere%5Bzoom%5D={$zoom}&lang=ru&from=navi
Let me know

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Tue Oct 04, 2022 9:06 pm
by alexlong
Thank you, François.
It works.

Do you plan to add

Code: Select all

map.coordinates.openwith.provider.custom=
to the official user settings list?

Re: New "map.coordinates.openwith_provider"s in user_settings.conf

Posted: Fri Oct 07, 2022 1:44 am
by Psyberia-Support
Hi Alex,
Unfortunately I haven't been able to update the user settings page for a long time.
I add a lot of user settings but cannot find the time to update the page. I need to find a better solution.
I'll make my best to find a way to give an updated list asap... But don't hesitate to ask if you have any question about them.