Generating a navigation link on Google Maps can be achieved by using specific parameters in the URL. Here is an example link that, when clicked, will navigate directly to the specified address:

https://www.google.com/maps/dir/?api=1&destination=目标地址

Please replace destination address with the exact address you want to navigate to. Make sure to use percent encoding to handle special characters in addresses. For example, a space can be encoded as %20.

For example, if you wanted to navigate to Times Square in New York, the link might look like this:

https://www.google.com/maps/dir/?api=1&destination=Times%20Square,%20New%20York,%20NY

After the user clicks on this link, he will be redirected to the Google Maps application or web version and displayed the navigation route from the current location to the target address.

Please note that the Google Maps API key (API key in the api=1 parameter) is optional, but if you have an API key, you can use it to get more features and higher quotas.

Generate a navigation link on Google Maps to navigate directly to the specified coordinates. You can use the following URL format:

https://www.google.com/maps/dir/?api=1&destination=纬度,经度

Replace latitude and longitude with the specific coordinates you want to navigate to. For example:

https://www.google.com/maps/dir/?api=1&destination=37.7749,-122.4194

This link will navigate to the location latitude 37.7749, longitude -122.4194. After the user clicks on this link, he will be redirected to the Google Maps application or web version and displayed a navigation route from the current location to the specified coordinates.

As mentioned before, the api=1 parameter is optional, but if you have a Google Maps API key, you can use it to get more features and higher quotas.

Waze uses different URL parameters to implement navigation. Here is the basic URL format for navigation with Waze:

https://www.waze.com/ul?ll=纬度,经度&navigate=yes

Replace latitude and longitude with the specific coordinates you want to navigate to. For example:

https://www.waze.com/ul?ll=37.7749,-122.4194&navigate=yes

This link will navigate to the location latitude 37.7749, longitude -122.4194. Similar to Google Maps, when the user clicks on this link, they will be redirected to the Waze application and displayed navigation routes from their current location to the specified coordinates.