I've been reading https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html#//apple_ref/doc/uid/TP40007899-CH5-SW1
I'm trying to simply have a URL
that opens a map with a marker for given GPS
coordinates that works for both Apple
and Android/PC
.
Maps.apple.com?ll=40.748817,-73.985428&q=abc
When the link is clicked on iOS
, it opens a map at the location with a pin titled 'abc'.
If clicked on an android or PC it centres the map but doesn't show a pin.
Does anyone know how to have a single URL
that will give a marker on all platforms?
Or is there another way?
Please check static google map. It provides image url of map with given zoom level and pin. Working fine in android and ios. Since it is image url, it should work fine in all platform. Load this via image loader like Picasso.