I found simple solution. JS added 'NaN' parameter to default location when you clicked out of this field. So I just turn off js, add correct parameters and save settings. Then turned on scripts. Settings were saved correctly and map was showed. It is more easy then re-install module.
I was trying to show GMap on a node inside quick-tab. A specific quick tab was supposed to shows Google Map, but it was mis-behaving as:
1- Marker was not center aligned.
2- Map does not show up by default, rather it shows up upon page inspect.
I fixed it (sort of hard coded it) by getting appending quick-tab id to URL on click. It solved both of the above mentioned problems.
Comments
Comment #1
zzhenekk commentedI have same issue.
I found simple solution. JS added 'NaN' parameter to default location when you clicked out of this field. So I just turn off js, add correct parameters and save settings. Then turned on scripts. Settings were saved correctly and map was showed. It is more easy then re-install module.
Comment #2
podarok#1973916: Gmap module settings: just grey area where the card should be and NaN when I enter coordinated manually
Comment #3
drupal_simply_amazing commentedzzhenekk nice work around, my gmap now is working again.
Comment #4
fyberoptik commentedNice catch @zzhenekk
Comment #5
Badlapje commentedthis issue is still a problem, finding this thread and implementing the solution was easy enough, but not a good way to fix it in the long run
Comment #6
arsalan2411 commentedI was trying to show GMap on a node inside quick-tab. A specific quick tab was supposed to shows Google Map, but it was mis-behaving as:
1- Marker was not center aligned.
2- Map does not show up by default, rather it shows up upon page inspect.
I fixed it (sort of hard coded it) by getting appending quick-tab id to URL on click. It solved both of the above mentioned problems.