react-native-map-link 2.9.3 → 2.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-map-link",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "description": "Open the map app of the user's choice with a specific location",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -122,7 +122,7 @@ export async function showLocation(options) {
122
122
  url = prefixes['apple-maps'];
123
123
  url = useSourceDestiny
124
124
  ? `${url}?saddr=${sourceLatLng}&daddr=${latlng}`
125
- : `${url}?sll=${latlng}`;
125
+ : `${url}?ll=${latlng}`;
126
126
  url += `&q=${title ? encodedTitle : 'Location'}`;
127
127
  url += appleDirectionMode ? `&dirflg=${appleDirectionMode}` : '';
128
128
  break;