how to make google map embed iframe responsive with bootstrap

in #steempress5 years ago

I tried to embed a google map onto my page but with the default code provided by google, the map has a fixed width which does not change when you resize the window or view it on mobile. This makes it very difficult to view on mobile as you will have to zoom in and out a lot with your fingers. So I found a way to fix it with bootstrap - making the map change its width according to window size. It also will look nicely on your phone. Check it out.



Posted from my blog with SteemPress : http://magicmonktutorials.com/blog/2019/11/11/how-to-make-google-map-embed-iframe-responsive-with-bootstrap/

Mathematics & Digital Technologies Education
Videos, quizzes, and other learning resources
Eddie the Magic Monk has 14 years teaching experience as a high school teacher in Australia. He will explain things to you in the simplest way possible to help you fully understand high school mathematics and computer science concepts.
Eddie began his tutorial channel on Youtube in 2012. His videos have been well received all over the world and now has 20+ million views! He sees the benefit in multidisciplinary learning hence his tutorials cover topics ranging from maths to dance.

Sort:  

Hello,

Your post has been manually curated by a @stem.steem curator.

FA8866FD-F2C3-43B3-A5A5-E0324BA4BB47.jpeg
Supporting Steemians on STEMGeeks

We are dedicated to supporting great content, like yours on the STEMGeeks tribe.

Please join us on discord.

吃了吗?想要参加活动但是不知道从何开始?关注寻宝cn-activity每日整理社区活动!假如我的留言打扰到你,请回复“取消”。

你今天过的开心吗?来一份新手村小卖部的美食吧!@teamcn-shop假如我的留言打扰到你,请回复“取消”。

你好鸭,magicmonk!

@cnbuddy给您叫了一份外卖!

@hertz300 小Q 迎着飓风 开着拖拉机 给您送来
苏式鲜肉月饼

吃饱了吗?跟我猜拳吧! 石头,剪刀,布~

如果您对我的服务满意,请不要吝啬您的点赞~
@onepagex

Hi @magicmonk!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 4.711 which ranks you at #1629 across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 97 contributions, your post is ranked at #74.

Evaluation of your UA score:
  • Some people are already following you, keep going!
  • You have already convinced some users to vote for your post, keep trying!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 62943.85
ETH 2464.43
USDT 1.00
SBD 2.55