I looked around many examples on stackoverflow but nothing of those seems to be working for me. However, i'm not quite able to make this happen. I'm wanting the center to be preserved on window size, just like Andrew discusses in the video. The API has changed since this video came out, but the core functionality appears to be the same. Responsive Google Map? and Center Google Maps (V3) on browser resize (responsive)įrom the second stack question I got a link which helps me with part of the code but I still have no luck. I am trying to center google maps when window is resized. I'm working on a Google Maps implementation which is similar to the one outlined in this project. In an page i have a double tab, which one showing a different google map embed code. When I resize my browser windows width I would like the map to stay. I using a plugin on wordpress that allows me on a page using tabs to change content. However, im not quite able to make this happen. I have a Google Maps (V3) in my page at 100 page width with one marker in the middle. Im wanting the center to be preserved on window size, just like Andrew discusses in the video. Re-center google map on window resize Raw index.html This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. I read other stack questions in regards such as: Im working on a Google Maps implementation which is similar to the one outlined in this project. I’m trying to get google maps responsive and resize while keeping its center when windows resizes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |