react-native-map-link 3.7.0 → 3.8.0
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.
- package/README.md +0 -1
- package/lib/utils.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/utils.js
CHANGED
|
@@ -184,6 +184,9 @@ const generateMapUrl = ({ app, directionsMode, appleIgnoreLatLon, googleForceLat
|
|
|
184
184
|
if (!googleForceLatLon && title) {
|
|
185
185
|
url += `&destination=${encodedTitle}`;
|
|
186
186
|
}
|
|
187
|
+
else if (!googleForceLatLon && address) {
|
|
188
|
+
url += `&destination=${address}`;
|
|
189
|
+
}
|
|
187
190
|
else {
|
|
188
191
|
url += `&destination=${latlng}`;
|
|
189
192
|
}
|