Sharing a Place
Place on a Map or Place Details Container
Places can be shared by their Sharing IDs. A Sharing ID can be obtained from the the "view" attribute from a Places API discovery response. You can also use the Places API to perform a reverse lookup using a Sharing ID.
PLACE-IDENTIFIER
- The Sharing ID of a place.
-
VIEW
- Optional. Specifies what view should be used to show a place. Valid values are:
-
map
- Shows the place on a map -
pdc
- Shows the place in an information view that is separate from the normal map. This is the default value.
-
|
-
https://share.here.com/p/s-aWQ9Mjc2dTMzZHYtYWJmY2ZkOTIxZDg5NDM4ZmEyYTkxOTE4MjVlMTRiZ mQ7bj1MaWNodGJsaWNrK0tpbm87Yz1jaW5lbWE7cGg9JTJCNDkzMDQ0MDU4MTc5O2xhdD01Mi41MzY1NTtsb 249MTMuNDA3NjE?v=map
-
https://share.here.com/p/s-aWQ9Mjc2dTMzZHYtYWJmY2ZkOTIxZDg5NDM4ZmEyYTkxOTE4MjVlMTRiZ mQ7bj1MaWNodGJsaWNrK0tpbm87Yz1jaW5lbWE7cGg9JTJCNDkzMDQ0MDU4MTc5O2xhdD01Mi41MzY1NTtsb 249MTMuNDA3NjE?v=pdc
-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://share.here.com/p/s-aWQ9Mjc2dTMzZHYtYWJmY2ZkOTIxZDg5NDM4ZmEyYTkxOTE4MjVlMTRiZ mQ7bj1MaWNodGJsaWNrK0tpbm87Yz1jaW5lbWE7cGg9JTJCNDkzMDQ0MDU4MTc5O2xhdD01Mi41MzY1NTtsb 249MTMuNDA3NjE?v=pdc"]]
-
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://share.here.com/p/s-aWQ9Mjc2dTMzZHYtYWJmY2ZkOTIxZDg5NDM4ZmEyYTkxOTE4MjVlMTRiZmQ7bj 1MaWNodGJsaWNrK0tpbm87Yz1jaW5lbWE7cGg9JTJCNDkzMDQ0MDU4MTc5O2xhdD01Mi41MzY1NTtsb249MTMuNDA3NjE?v=pdc")); startActivity(intent);