Patch (to be ported)
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 May 2013 at 15:37 UTC
Updated:
10 Jun 2016 at 15:51 UTC
Jump to comment: Most recent
Comments
Comment #1
n20 commentedDid you figured out how to run the resize trigger event? Im facing the same problem right now.
Comment #2
Anonymous (not verified) commentedsame problem(
Comment #3
gillarf commentedI'm having a very similar problem - I'm not sure of the name of the map to resize when I show the tabbed pane that the map is in. Using gmap in views.
Comment #4
Smartforcedev commentedSame here. Did someone figured out how to fix this?
Comment #5
gillarf commentedYou can define the id of the map in the macro (e.g [gmap id=my-map]). Then put javascript similar to this in your event handler:
Comment #6
Smartforcedev commentedThanks gillarf!
Here is my solution to fix Bootstrap3 Tabs:
Comment #7
podarokComment #8
capellicThanks @Smartforcdev in comment #3. Really helped me out!
Comment #9
taote commentedI have a similar problem using collapsible fieldset, and trying to use #6 solution, I got the following error:
Also tried this
But same result. Any help please? This is driving me crazy!!
Comment #10
Anonymous (not verified) commentedI use jQuery UI Tabs and this works for me:
Comment #11
dougn7 commentedHi guys, ive been using version 7.x-2.9 and #10 solution work great for me, but #6 not. The version 7.x-2.10+1-dev (last until now) dont fix this problem.
You can can do this smoothly replacing setCenter() to panTo():
mapObj.map.panTo(center);Comment #12
drupix#10 worked for me, thanks!