How do I add the Zoom Level to a Google Maps URL?

Question
How do I add the Zoom Level to a Google Maps URL?

The following brings up a nice map - But I want the ability to add to the string a Zoom Level (2 to 20)
 url --> http://maps.google.com/maps?q=145+Main+st+kansas+City+MO

What I've tried adding to the end of the above URL  (at the end)
,10z
&10z
&Zoom=10

I'm using VBA to generate a URL that I use to open a map in Google maps.  Hopefully this should be easy.

Thanks in advance for any help
LJG
LVL 2
LJGAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
map.setZoom(zoom:number)
https://developers.google.com/maps/documentation/javascript/reference/#Map

it's not stored in the url
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LJGAuthor Commented:
Thanks for responding David

I'm looking for something that I can use VBA to build a URL that I can zoom to a particular place.   A couple of examples are below, but I was hoping to do it without the Longitude & Latitude.   I know I can get the Geo code, but would prefer not to.

https://www.google.com/maps/place/145+Main+St,+Kansas+City,+MO+64105/@39.1111488,-94.6188026,14z/

https://www.google.com/maps/place/145+Main+St,+Kansas+City,+MO+64105/@39.1111488,-94.6188026,10z/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Google

From novice to tech pro — start learning today.