Sharing a Location
Map at a Specified Location
To share a location, specify the latitude and longitude. You can optionally specify the zoom level, map type, or add a pin to this location,
LATITUDE, LONGITUDE
- The geocoordinates of this location, in decimal degrees.
-
p
- Display Pin - Specifies if a pin should be shown on the map of a shared location. The valid values are
yes
andno
. Defaults toyes
when omitted. This parameter is optional.
|
-
https://share.here.com/l/51.8772465,14.3453293?z=13&p=yes
-
https://share.here.com/l/51.8772465,14.3453293?z=13&t=traffic&p=no
-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://share.here.com/l/51.8772465,14.3453293?z=13"]]
-
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://share.here.com/l/51.8772465,14.3453293?z=13")); startActivity(intent);
Map at a Specified Location with a Custom Title
To share a location with a custom title, specify the latitude, longitude, and a title. You can also optionally specify the zoom level or map type.
-
LATITUDE, LONGITUDE
- The geocoordinates of this location, in decimal degrees.
-
TITLE
- Custom title that appears in a bubble at the specified location. The title must be URL encoded.
|
-
https://share.here.com/l/52.5308599,13.3866211,Invalidenstra%C3%9Fe%20116,10115%20Berlin?z=15
-
https://share.here.com/l/51.8772465,14.3453293,Lets%20meet%20here?z=10
-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://share.here.com/l/52.5308599,13.3866211,Invalidenstra%C3%9Fe%20116,10115%20Berlin?z=15"]]
-
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://share.here.com/l/52.5308599,13.3866211,Invalidenstra%C3%9Fe%20116,10115%20Berlin?z=15")); startActivity(intent);