Remove map type controls(Satellite/Map/Terrain)

7,866 views
Skip to first unread message

tulios

unread,
Aug 8, 2011, 11:09:57 PM8/8/11
to google-map...@googlegroups.com
Hello,

I got the html iframe embedded codes from google maps, I embedded it on my website, I am trying to remove the map type controls(Map|Sat|Ter), I checked Google Map Parameter, but I coundn't find such a option. Is it possible to remove it? How can I do it? I know JavaScript API has options to do that, but for some reasons I have to use the html embedded codes, so can anyone help me please? 

Thanks a lot.

Chris Broadfoot

unread,
Aug 9, 2011, 12:13:22 AM8/9/11
to google-map...@googlegroups.com
Hi,

The iframe embed found on maps.google.com is not actually using the Maps API. For more information on the Maps API, see here:

See these docs to learn how to remove elements of the default UI:

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/Fiy77C0cGI0J.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

tulios

unread,
Aug 9, 2011, 7:16:51 PM8/9/11
to google-map...@googlegroups.com
Hi Chris,

Thanks for your reply, I know that the iframe embed code it not using the google maps API, for some reasons I can only use the iframe embed codes from maps.google.com for my website, so I am wondering how I can remove the map type controls if I use the iframe embed codes found on maps.google.com. Or is this the wrong please to post this question? If so, which group should I go ask?

Regards

Rossko

unread,
Aug 9, 2011, 7:58:02 PM8/9/11
to Google Maps JavaScript API v3

tulios

unread,
Aug 9, 2011, 9:06:32 PM8/9/11
to google-map...@googlegroups.com
Thanks, Rossko, I did look at the Static Maps, however, that's is not what we want, we just need the normal map view, and we don't need other map types like satellite etc. I will post the question on the right forum, thanks for your help.  
Reply all
Reply to author
Forward
0 new messages