Page 1 of 1

Any way to link to maps?

Posted: 1. Jul 2024, 01:06
by Tafische
Is there any api on iOS that will recognize an address in the alert and create a hyperlink to Apple Maps? I had this feature in another alerting app and would love to have it here.

Re: Any way to link to maps?

Posted: 1. Jul 2024, 07:07
by admin
There is no automatic address recognition. But you can pass the address directly with the url parameter, for example for route planning or a POI. Please look at using URL Schemes!

Apple Maps POI

Code: Select all

http://maps.apple.com/maps?q={CITY}
Apple Maps Route

Code: Select all

http://maps.apple.com/?daddr={DESTIONATIONCITY}&saddr={STARTCITY}

More URL Schemes for using in a Pushsafer Pusn-Notification:
https://www.pushsafer.com/en/url_schemes

Re: Any way to link to maps?

Posted: 4. Jul 2024, 03:52
by edredne
hi admin,
Do you know if there's a way to automate this process based on the addressgeometry dash in the alert?

Re: Any way to link to maps?

Posted: 4. Jul 2024, 10:17
by admin
edredne wrote:
4. Jul 2024, 03:52
hi admin,
Do you know if there's a way to automate this process based on the address in the alert?
there is no automatic recognition of addresses.
You have to do this on your site and put the found address in the URL scheme with the Pushsafer parameter u

Re: Any way to link to maps?

Posted: 10. Jul 2024, 08:33
by admin
edredne wrote:
4. Jul 2024, 03:52
hi admin,
Do you know if there's a way to automate this process based on the addressgeometry dash in the alert?
How you send the pushsafer notification? By email, url or api?
What programming language you use to send the notification?