Per the documentation:
Developer Guide | Maps URLs | Google Developers[
^]
Display a map — launch Google Maps with no markers or directions:
https://www.google.com/maps/@?api=1&map_action=map¶meters
Important
The parameter api=1 identifies the version of Maps URLs this URL is intended for. This parameter is required in every request. The only valid value is 1. If api=1 is NOT present in the URL, all parameters are ignored
Parameters
query (required): Defines the place(s) to highlight on the map. The query parameter is required for all search requests.
In your code, the first time you attempt to navigate it is only to the "base" url with no parameters at all.
Even when you do get it built up you do not have the API version or other parameters named, just the data they contain.