google maps embedded in iframe with text view problem

Google maps public site seems to ignore the view parameter of text and shows the mapview instead when embedded in an iframe. I want it to default to the text view. Here's my code.
 <iframe src="https://www.google.com/maps?view=text&f=d&layer=t&output=embed&saddr=My+Location&view=text&daddr=110 chelmsford st, chelmsford ma+to:340 billerica ave billerica ma" style="width:100%;height:900px"></iframe>

Open in new window


Any help would be appreciated.  Thanks.
LVL 9
BobHavertyComhAsked:
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.

Bob LearnedCommented:
I don't see the text view in the Embed API documentation, which seems like a huge hole:

Google Maps Embed API
https://developers.google.com/maps/documentation/embed/guide
0
BobHavertyComhAuthor Commented:
Hi Bob, thanks for your response. Here is where I am getting my idea from and why I think it should work.
https://moz.com/ugc/everything-you-never-wanted-to-know-about-google-maps-parameters

There is a view parameter that can be passed to that address, and it can have a value of text or map. If I go to that address directly, it gives me the text view as it should. If I have that address in an iframe, it ignores it and gives me the map view. For what I am doing, I don't need any api key as it's merely their public map site. I don't even need to go to maps/embed in the address.

output=embed is needed or it won't open in an iframe, and that works and it does open in the iframe, but it's the map view.
0
Bob LearnedCommented:
That link seems to talk about the standard Maps API, as I don't see any reference to the Embed API.  The Embed API appears to provide different functionality, unfortunately.

Today, I learned something new, since I hadn't heard of the Text View, so +1 for text view (Thanks!!)

You might want to contact Google for clarification about this point, and maybe even submit feedback:

Send Maps feedback
https://support.google.com/maps/answer/3094045?hl=en
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
BobHavertyComhAuthor Commented:
Thanks for the confirmation.
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
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.