Maps URL manipulation

bnwseo

Newbie
Joined
Apr 14, 2024
Messages
12
Reaction score
4
Maps URL manipulation. It used to be that you could add a query(&q=) at the end of a URL and have that query show up in the search box.

Does that not work anymore? Doesn't seem to be working on my end.........

If it doesn't work anymore, are there any other ways of doing what it used to do?
 
As @420lounge mentioned , use Google Maps Embed API for customizable map embedding ,beyond pre-defining location and zoom level, it offers more customization options where you can control map elements like zoom controls, scale, and map types.
 
Use Google Maps Embed API , Search by coordinates , Include place name in URL.
 
Use the Google Maps API to embed maps. This allows for more customization and control over the search process.
 
GooglemapsAPI costs money : )

And, pain is one has to pay in USD, not local currency.

Hit reply if you have expierienced such a problem.
 
I worked with the Googlemaps search url when I was doing a small guide with my mom and it worked perfect for me, dunno if you got your answer yet but if not maybe I could share some tips with you
 
I too suggest Use the Google Maps API to embed maps.
 
As all mentioned and my suggestion will be go with Google Maps Embed API
 
I worked with the Googlemaps search url when I was doing a small guide with my mom and it worked perfect for me, dunno if you got your answer yet but if not maybe I could share some tips with you
I'm all ears. What would you recommend?
 
I'm all ears. What would you recommend?
You can go to https://developers.google.com/maps/documentation/urls/get-started to know where you could start
Basically, the thing that worked best for me was to get the exact coordinates of the point I wanted to reach. I could also get the coordinates of the starting point with 'Origin=Current+Location'. Which gives us a base_url like this one : "https://www.google.com/maps/dir/?api=1&origin=Current+Location&travelmode=driving". Once you get that one right, you can build links by adding your destination and your waypoints in an URL encoded format.
See https://developers.google.com/maps/url-encoding for more informations
Basically this means that you could make your button point to a script that converts that query to a right url and then sends it back to the user
 
Back
Top