Mercurial > hg > batmud > gmap2
changeset 291:55999edef91d gmap2
Fix view collapse/uncollapse to resize the Gmaps view by triggering a resize event.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Nov 2016 23:22:56 +0200 |
parents | 8e120dadd0a5 |
children | 64f67ed89172 |
files | nav.js |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nav.js Thu Nov 17 17:18:36 2016 +0200 +++ b/nav.js Fri Nov 18 23:22:56 2016 +0200 @@ -35,4 +35,6 @@ pmapSE("map").style.right = pmapLE("8px" , css_map_right); pmapSE("map").style.top = pmapLE("0px" , css_map_top); pmapSE("collbutton").src = pmapLE("img/left.gif" , "img/right.gif"); + + google.maps.event.trigger(pmap, "resize"); }