Resize the Google Map dynamically?
-
Is there a way to dynamically resize Google Map?
I want to show all events on a map which should take up the full-page width. At the same time, when a map is displayed on a single event page, it would be much smaller.However, if I change the Default map width settings to 100%, the map is not being shown. If I change it to use px, it will be either too small to display all events or too big to display a single event.
Is there a file or shortcode e.g. css or function file that I can change to have the map resized conditionally?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Resize the Google Map dynamically?’ is closed to new replies.